Export (0) Print
Expand All

System.Management.Automation.Provider Namespace

The System.Management.Automation.Provider namespace contains classes, enumerations, and interfaces used to implement Windows PowerShell providers. In particular, the CmdletProvider class is the base class from which all other Windows PowerShell provider classes are derived from.

ClassDescription
CmdletProviderServes as a base class for all derived provider classes.
CmdletProviderAttributeDefines the name and capabilities of a provider.
ContainerCmdletProviderServes as a base class for providers that allow the user to manage items that are containers. A container is a group of child items under a common parent item.
DriveCmdletProviderServes as a base class for providers that access a data store through Windows PowerShell drives.
ItemCmdletProviderServes as a base class for providers that expose an item as a Windows PowerShell path.
NavigationCmdletProviderServes as the base class for providers that perform navigation operations against items in a multi-level data store.

InterfaceDescription
ICmdletProviderSupportsHelpProvides methods for displaying provider specific Help for items in the data store. This class is introduced in Windows PowerShell 2.0.
IContentCmdletProviderDefines the methods used to read or write content for a specific item. Content from an item is read using content readers, and content is written to an item using content writers.
IContentReaderDefines the methods used to read the content of items in the data store.
IContentWriterDefines the methods used to write to an item in the data store.
IDynamicPropertyCmdletProviderDefines the new, remove, copy, move, and rename methods for item properties within a data store. The methods of this interface are implemented by providers that access data stores whose properties can be defined at runtime.
IPropertyCmdletProviderDefines the methods used to expose the properties of an item in the data store.
ISecurityDescriptorCmdletProviderDefines the methods that are used to get, set, and create security descriptors for those providers that expose items that are protected by a security descriptor. This interface must be implemented to support the Get-Acl and Set-Acl cmdlets.

EnumerationDescription
ProviderCapabilitiesDefines the functional capabilities that are either implemented or supported by the provider. When a capability is specified, the Windows PowerShell runtime performs the operation using its own implementation; however, in the cases where the provider is allowed to provide its own implementation (such as include or exclude), a provider that implements its own capabilities will typically perform better using its own implementation of a capability.

Send comments about this topic to Microsoft.
Show:
© 2014 Microsoft