GetPSSessionCommand.Credential Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the credentials of the user to impersonate in the remote machine. If this parameter is not specified then the credentials of the current user process will be assumed.
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(ParameterSetName="ComputerInstanceId")]
[System.Management.Automation.Parameter(ParameterSetName="ComputerName")]
[System.Management.Automation.Parameter(ParameterSetName="ConnectionUri")]
[System.Management.Automation.Parameter(ParameterSetName="ConnectionUriInstanceId")]
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(ParameterSetName="ComputerInstanceId")>]
[<System.Management.Automation.Parameter(ParameterSetName="ComputerName")>]
[<System.Management.Automation.Parameter(ParameterSetName="ConnectionUri")>]
[<System.Management.Automation.Parameter(ParameterSetName="ConnectionUriInstanceId")>]
member this.Credential : System.Management.Automation.PSCredential with get, set
Public Property Credential As PSCredential
Property Value
- Attributes