ItemCmdletProvider ItemCmdletProvider ItemCmdletProvider Class

Definition

The base class for Cmdlet providers that expose an item as an MSH path.

public abstract class ItemCmdletProvider : System.Management.Automation.Provider.DriveCmdletProvider
type ItemCmdletProvider = class
    inherit DriveCmdletProvider
Public MustInherit Class ItemCmdletProvider
Inherits DriveCmdletProvider
Inheritance
Derived

Remarks

The ItemCmdletProvider class is a base class that a provider derives from to
inherit a set of methods that allows the Monad engine
to provide a core set of commands for getting and setting of data on one or
more items. A provider should derive from this class if they want
to take advantage of the item core commands that are
already implemented by the Monad engine. This allows users to have common
commands and semantics across multiple providers.

Constructors

ItemCmdletProvider() ItemCmdletProvider() ItemCmdletProvider()

Methods

ClearItem(String) ClearItem(String) ClearItem(String)

Clears the item specified by the path.

ClearItemDynamicParameters(String) ClearItemDynamicParameters(String) ClearItemDynamicParameters(String)

Gives the provider an opportunity to attach additional parameters to the clear-item cmdlet.

ExpandPath(String) ExpandPath(String) ExpandPath(String)

Expand a provider path that contains wildcards to a list of provider paths that the path represents.Only called for providers that declare the ExpandWildcards capability.

GetItem(String) GetItem(String) GetItem(String)

Gets the item at the specified path.

GetItemDynamicParameters(String) GetItemDynamicParameters(String) GetItemDynamicParameters(String)

Gives the provider an opportunity to attach additional parameters to the get-item cmdlet.

GetResourceString(String, String) GetResourceString(String, String) GetResourceString(String, String) Inherited from CmdletProvider
InitializeDefaultDrives() InitializeDefaultDrives() InitializeDefaultDrives() Inherited from DriveCmdletProvider
InvokeDefaultAction(String) InvokeDefaultAction(String) InvokeDefaultAction(String)

Invokes the default action on the specified item.

InvokeDefaultActionDynamicParameters(String) InvokeDefaultActionDynamicParameters(String) InvokeDefaultActionDynamicParameters(String)

Gives the provider an opportunity to attach additional parameters to the invoke-item cmdlet.

IsValidPath(String) IsValidPath(String) IsValidPath(String)

Providers must override this method to verify the syntax and semantics of their paths.

ItemExists(String) ItemExists(String) ItemExists(String)

Determines if an item exists at the specified path.

ItemExistsDynamicParameters(String) ItemExistsDynamicParameters(String) ItemExistsDynamicParameters(String)

Gives the provider an opportunity to attach additional parameters to the test-path cmdlet.

NewDrive(PSDriveInfo) NewDrive(PSDriveInfo) NewDrive(PSDriveInfo) Inherited from DriveCmdletProvider
NewDriveDynamicParameters() NewDriveDynamicParameters() NewDriveDynamicParameters() Inherited from DriveCmdletProvider
RemoveDrive(PSDriveInfo) RemoveDrive(PSDriveInfo) RemoveDrive(PSDriveInfo) Inherited from DriveCmdletProvider
SetItem(String, Object) SetItem(String, Object) SetItem(String, Object)

Sets the item specified by the path.

SetItemDynamicParameters(String, Object) SetItemDynamicParameters(String, Object) SetItemDynamicParameters(String, Object)

Gives the provider an opportunity to attach additional parameters to the set-item cmdlet.

ShouldContinue(String, String) ShouldContinue(String, String) ShouldContinue(String, String) Inherited from CmdletProvider
ShouldContinue(String, String, Boolean, Boolean) ShouldContinue(String, String, Boolean, Boolean) ShouldContinue(String, String, Boolean, Boolean) Inherited from CmdletProvider
ShouldProcess(String) ShouldProcess(String) ShouldProcess(String) Inherited from CmdletProvider
ShouldProcess(String, String) ShouldProcess(String, String) ShouldProcess(String, String) Inherited from CmdletProvider
ShouldProcess(String, String, String) ShouldProcess(String, String, String) ShouldProcess(String, String, String) Inherited from CmdletProvider
ShouldProcess(String, String, String, ShouldProcessReason) ShouldProcess(String, String, String, ShouldProcessReason) ShouldProcess(String, String, String, ShouldProcessReason) Inherited from CmdletProvider
Start(ProviderInfo) Start(ProviderInfo) Start(ProviderInfo) Inherited from CmdletProvider
StartDynamicParameters() StartDynamicParameters() StartDynamicParameters() Inherited from CmdletProvider
Stop() Stop() Stop() Inherited from CmdletProvider
StopProcessing() StopProcessing() StopProcessing() Inherited from CmdletProvider
ThrowTerminatingError(ErrorRecord) ThrowTerminatingError(ErrorRecord) ThrowTerminatingError(ErrorRecord) Inherited from CmdletProvider
TransactionAvailable() TransactionAvailable() TransactionAvailable() Inherited from CmdletProvider
WriteDebug(String) WriteDebug(String) WriteDebug(String) Inherited from CmdletProvider
WriteError(ErrorRecord) WriteError(ErrorRecord) WriteError(ErrorRecord) Inherited from CmdletProvider
WriteInformation(InformationRecord) WriteInformation(InformationRecord) WriteInformation(InformationRecord) Inherited from CmdletProvider
WriteInformation(Object, String[]) WriteInformation(Object, String[]) WriteInformation(Object, String[]) Inherited from CmdletProvider
WriteItemObject(Object, String, Boolean) WriteItemObject(Object, String, Boolean) WriteItemObject(Object, String, Boolean) Inherited from CmdletProvider
WriteProgress(ProgressRecord) WriteProgress(ProgressRecord) WriteProgress(ProgressRecord) Inherited from CmdletProvider
WritePropertyObject(Object, String) WritePropertyObject(Object, String) WritePropertyObject(Object, String) Inherited from CmdletProvider
WriteSecurityDescriptorObject(ObjectSecurity, String) WriteSecurityDescriptorObject(ObjectSecurity, String) WriteSecurityDescriptorObject(ObjectSecurity, String) Inherited from CmdletProvider
WriteVerbose(String) WriteVerbose(String) WriteVerbose(String) Inherited from CmdletProvider
WriteWarning(String) WriteWarning(String) WriteWarning(String) Inherited from CmdletProvider

Properties

Credential Credential Credential Inherited from CmdletProvider
CurrentPSTransaction CurrentPSTransaction CurrentPSTransaction Inherited from CmdletProvider
DynamicParameters DynamicParameters DynamicParameters Inherited from CmdletProvider
Exclude Exclude Exclude Inherited from CmdletProvider
Filter Filter Filter Inherited from CmdletProvider
Force Force Force Inherited from CmdletProvider
Host Host Host Inherited from CmdletProvider
Include Include Include Inherited from CmdletProvider
InvokeCommand InvokeCommand InvokeCommand Inherited from CmdletProvider
InvokeProvider InvokeProvider InvokeProvider Inherited from CmdletProvider
PSDriveInfo PSDriveInfo PSDriveInfo Inherited from CmdletProvider
ProviderInfo ProviderInfo ProviderInfo Inherited from CmdletProvider
SessionState SessionState SessionState Inherited from CmdletProvider
Stopping Stopping Stopping Inherited from CmdletProvider

Applies to