ProviderCapabilities Enum

Definition

This enumeration defines the capabilities that the provider implements.

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

[System.Flags]
public enum ProviderCapabilities
Inheritance
ProviderCapabilities
Attributes

Fields

Credentials

The provider supports credentials. When this capability is specified and the user passes credentials to the core cmdlets, those credentials will be passed to the provider. If the provider doesn't specify this capability and the user passes credentials, an exception is thrown.

Exclude

The provider does the exclusion filtering for those commands that take an Exclude parameter. The Monad engine should not try to do the filtering on behalf of this provider.

ExpandWildcards

The provider does the wildcard matching for those commands that allow for it. The Monad engine should not try to do the wildcard matching on behalf of the provider when this flag is set.

Filter

The provider can take a provider specific filter string.

Include

The provider does the inclusion filtering for those commands that take an Include parameter. The Monad engine should not try to do the filtering on behalf of this provider.

None

The provider does not add any additional capabilities beyond what the Monad engine provides.

ShouldProcess

The provider supports ShouldProcess. When this capability is specified, the -Whatif and -Confirm parameters become available to the user when using this provider

Transactions

The provider supports transactions. When this capability is specified, PowerShell lets the provider participate in the current PowerShell transaction. The provider does not support this capability and the user attempts to apply a transaction to it, an exception is thrown.