Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PSCredential Constructor

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Initializes a new instance of the PSCredential class

Namespace:   System.Management.Automation
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

NameDescription
System_CAPS_pubmethodPSCredential(PSObject)

Initializes a new instance of the PSCredential class with a username and password from PSObject.

System_CAPS_pubmethodPSCredential(String, SecureString)

Initializes a new instance of the PSCredential class that contains the user name and password for the credentials.

Return to top

Community Additions

Show: