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

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:
© 2016 Microsoft