ContainerCmdletProvider ContainerCmdletProvider ContainerCmdletProvider Class

Definition

The base class for Cmdlet providers that expose a single level of items.

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

Remarks

The ContainerCmdletProvider class is base class that a provider derives from to implement methods that allow the use of a set of core commands against the objects that the provider gives access to. By deriving from this class users can take advantage of all the features of the ItemCmdletProvider as well as globbing and the following commands when targeting this provider: get-childitem rename-item new-item remove-item set-location push-location pop-location get-location -stack

Constructors

ContainerCmdletProvider() ContainerCmdletProvider() ContainerCmdletProvider()

Methods

ClearItem(String) ClearItem(String) ClearItem(String) Inherited from ItemCmdletProvider
ClearItemDynamicParameters(String) ClearItemDynamicParameters(String) ClearItemDynamicParameters(String) Inherited from ItemCmdletProvider
ConvertPath(String, String, String, String) ConvertPath(String, String, String, String) ConvertPath(String, String, String, String)

Gets a new provider-specific path and filter (if any) that corresponds to the given path.

CopyItem(String, String, Boolean) CopyItem(String, String, Boolean) CopyItem(String, String, Boolean)

Copies an item at the specified path to an item at the copyPath.

CopyItemDynamicParameters(String, String, Boolean) CopyItemDynamicParameters(String, String, Boolean) CopyItemDynamicParameters(String, String, Boolean)

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

ExpandPath(String) ExpandPath(String) ExpandPath(String) Inherited from ItemCmdletProvider
GetChildItems(String, Boolean) GetChildItems(String, Boolean) GetChildItems(String, Boolean)

Gets the children of the item at the specified path.

GetChildItems(String, Boolean, UInt32) GetChildItems(String, Boolean, UInt32) GetChildItems(String, Boolean, UInt32)

Gets the children of the item at the specified path.

GetChildItemsDynamicParameters(String, Boolean) GetChildItemsDynamicParameters(String, Boolean) GetChildItemsDynamicParameters(String, Boolean)

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

GetChildNames(String, ReturnContainers) GetChildNames(String, ReturnContainers) GetChildNames(String, ReturnContainers)

Gets names of the children of the specified path.

GetChildNamesDynamicParameters(String) GetChildNamesDynamicParameters(String) GetChildNamesDynamicParameters(String)

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

GetItem(String) GetItem(String) GetItem(String) Inherited from ItemCmdletProvider
GetItemDynamicParameters(String) GetItemDynamicParameters(String) GetItemDynamicParameters(String) Inherited from ItemCmdletProvider
GetResourceString(String, String) GetResourceString(String, String) GetResourceString(String, String) Inherited from CmdletProvider
HasChildItems(String) HasChildItems(String) HasChildItems(String)

Determines if the item at the specified path has children.

InitializeDefaultDrives() InitializeDefaultDrives() InitializeDefaultDrives() Inherited from DriveCmdletProvider
InvokeDefaultAction(String) InvokeDefaultAction(String) InvokeDefaultAction(String) Inherited from ItemCmdletProvider
InvokeDefaultActionDynamicParameters(String) InvokeDefaultActionDynamicParameters(String) InvokeDefaultActionDynamicParameters(String) Inherited from ItemCmdletProvider
IsValidPath(String) IsValidPath(String) IsValidPath(String) Inherited from ItemCmdletProvider
ItemExists(String) ItemExists(String) ItemExists(String) Inherited from ItemCmdletProvider
ItemExistsDynamicParameters(String) ItemExistsDynamicParameters(String) ItemExistsDynamicParameters(String) Inherited from ItemCmdletProvider
NewDrive(PSDriveInfo) NewDrive(PSDriveInfo) NewDrive(PSDriveInfo) Inherited from DriveCmdletProvider
NewDriveDynamicParameters() NewDriveDynamicParameters() NewDriveDynamicParameters() Inherited from DriveCmdletProvider
NewItem(String, String, Object) NewItem(String, String, Object) NewItem(String, String, Object)

Creates a new item at the specified path.

NewItemDynamicParameters(String, String, Object) NewItemDynamicParameters(String, String, Object) NewItemDynamicParameters(String, String, Object)

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

RemoveDrive(PSDriveInfo) RemoveDrive(PSDriveInfo) RemoveDrive(PSDriveInfo) Inherited from DriveCmdletProvider
RemoveItem(String, Boolean) RemoveItem(String, Boolean) RemoveItem(String, Boolean)

Removes (deletes) the item at the specified path

RemoveItemDynamicParameters(String, Boolean) RemoveItemDynamicParameters(String, Boolean) RemoveItemDynamicParameters(String, Boolean)

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

RenameItem(String, String) RenameItem(String, String) RenameItem(String, String)

Renames the item at the specified path to the new name provided.

RenameItemDynamicParameters(String, String) RenameItemDynamicParameters(String, String) RenameItemDynamicParameters(String, String)

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

SetItem(String, Object) SetItem(String, Object) SetItem(String, Object) Inherited from ItemCmdletProvider
SetItemDynamicParameters(String, Object) SetItemDynamicParameters(String, Object) SetItemDynamicParameters(String, Object) Inherited from ItemCmdletProvider
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