PSCredentialTypes Enumeration

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Defines the types of Windows PowerShell credentials.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

[FlagsAttribute]
public enum PSCredentialTypes

Member nameDescription
Default

Default credentials.

Domain

Credentials valid for a domain.

Generic

Generic credentials.

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

Return to top
Show: