PSCredentialTypes Enum
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines the valid types of PSCredentials. Used by PromptForCredential calls.
This enumeration supports a bitwise combination of its member values.
C++
public enum class PSCredentialTypes
[System.Flags]
public enum PSCredentialTypes
[<System.Flags>]
type PSCredentialTypes =
Public Enum PSCredentialTypes
- Inheritance
-
PSCredentialTypes
- Attributes
Name | Value | Description |
---|---|---|
Generic | 1 | Generic credentials. |
Domain | 2 | Credentials valid for a domain. |
Default | 3 | Default credentials. |
Product | Versions |
---|---|
PowerShell SDK | 7.2.0, 7.3.0, 7.4.0 |
Windows PowerShell | 5.1.0.0 |