CredentialAttribute Class

Definition

Defines the attribute used to designate a cmdlet parameter as one that should accept credentials.

C++
public ref class CredentialAttribute sealed : System::Management::Automation::ArgumentTransformationAttribute
Inheritance
Attributes

Constructors

Properties

Methods

Transform(EngineIntrinsics, Object)

Transforms the input data to an PSCredential.

Applies to

Proizvod Verzije
PowerShell SDK 7.2.0, 7.3.0, 7.4.0
Windows PowerShell 5.1.0.0