Expand Minimize

PSCredentialTypes Enumeration

Defines the types of Windows PowerShell credentials.

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

Dim instance As PSCredentialTypes

public enum class PSCredentialTypes
/** @attribute FlagsAttribute() */ 
public enum PSCredentialTypes
public enum PSCredentialTypes

Member nameDescription
DefaultDefault credentials.
DomainCredentials that are valid for a domain.
GenericGeneric credentials.

These constants are used when prompting for credentials using the PromptForCredential method.


Target Platforms

Windows Developer Preview, Windows Server Developer Preview

Send comments about this topic to Microsoft.
© 2014 Microsoft