Windows desktop applications
Collapse the table of content
Expand the table of content
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.

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

© 2016 Microsoft