StopComputerCommand.Credential Property

Definition

The following is the definition of the input parameter "Credential". Specifies a user account that has permission to perform this action. Type a user-name, such as "User01" or "Domain01\User01", or enter a PSCredential object, such as one from the Get-Credential cmdlet

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.Credential]
[System.Management.Automation.Parameter(Position=1)]
[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.Credential>]
[<System.Management.Automation.Parameter(Position=1)>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
member this.Credential : System.Management.Automation.PSCredential with get, set
Public Property Credential As PSCredential

Property Value

Attributes

Applies to