CmdletProviderAttribute Class

Definition

Declares a class as a Cmdlet provider.

[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=false)]
public sealed class CmdletProviderAttribute : Attribute
Inheritance
CmdletProviderAttribute
Attributes

Remarks

The class must be derived from System.Management.Automation.Provider.CmdletProvider to be recognized by the runspace.

Constructors

CmdletProviderAttribute(String, ProviderCapabilities)

Constructor for the attribute.

Properties

ProviderCapabilities

Gets the flags that represent the capabilities of the provider.

ProviderName

Gets the name of the provider.