Partager via


StartProcessCommand.Credential Property

Definition

Credentials for the process.

public:
 property System::Management::Automation::PSCredential ^ Credential { System::Management::Automation::PSCredential ^ get(); void set(System::Management::Automation::PSCredential ^ value); };
public System.Management.Automation.PSCredential Credential { get; set; }
[System.Management.Automation.Alias(new System.String[] { "RunAs" })]
[System.Management.Automation.Credential]
[System.Management.Automation.Parameter(ParameterSetName="Default")]
[System.Management.Automation.ValidateNotNullOrEmpty]
public System.Management.Automation.PSCredential Credential { get; set; }
member this.Credential : System.Management.Automation.PSCredential with get, set
[<System.Management.Automation.Alias(new System.String[] { "RunAs" })>]
[<System.Management.Automation.Credential>]
[<System.Management.Automation.Parameter(ParameterSetName="Default")>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
member this.Credential : System.Management.Automation.PSCredential with get, set
Public Property Credential As PSCredential

Property Value

Attributes

Applies to