共用方式為


CmdletProvider.Credential Property

Definition

Gets the credentials under which the operation should run.

public:
 property System::Management::Automation::PSCredential ^ Credential { System::Management::Automation::PSCredential ^ get(); };
public System.Management.Automation.PSCredential Credential { get; }
member this.Credential : System.Management.Automation.PSCredential
Public ReadOnly Property Credential As PSCredential

Property Value

Applies to