IPropertyCmdletProvider Interface
Namespace: System.Management.Automation.Provider
Assembly: System.Management.Automation (in System.Management.Automation)
Developers should implement this interface under the following conditions:
-
When users must use cmdlets such as the Get-ItemProperty and Set-ItemPropertyy cmdlets.
-
For providers that derive from the ItemCmdletProvider, ContainerCmdletProvider, or NavigationCmdletProvider classes.
In this context, an "item" is an element of data within a data store. For example, the items exposed through the FileSystem provider can be files or directories. This interface provides the base operations for the other property provider interfaces.
Windows PowerShell provides a TemplateProvider.cs file that is available on the Windows SDK. To start writing your own provider make a copy of this file and use that copy to create your provider, removing any functionality that you do not need. For more information about designing a provider, see Designing Your Windows PowerShell Provider.
Target Platforms
Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Server 2008, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional, Windows Vista, Windows Server 2003 R2, Windows XP, Windows 7, Windows 2008 R2, Windows Developer Preview, Windows Server Developer PreviewReference
IPropertyCmdletProvider MembersSystem.Management.Automation.Provider Namespace
Other Resources
Windows PowerShell SDKSend comments about this topic to Microsoft.