CertificateProvider CertificateProvider CertificateProvider CertificateProvider Class

Definition

Defines the implementation of a Certificate Store Provider. This provider allows for stateless namespace navigation of the computer's certificate store.

public ref class CertificateProvider sealed : System::Management::Automation::Provider::NavigationCmdletProvider, System::Management::Automation::Provider::ICmdletProviderSupportsHelp
public sealed class CertificateProvider : System.Management.Automation.Provider.NavigationCmdletProvider, System.Management.Automation.Provider.ICmdletProviderSupportsHelp
type CertificateProvider = class
    inherit NavigationCmdletProvider
    interface ICmdletProviderSupportsHelp
Public NotInheritable Class CertificateProvider
Inherits NavigationCmdletProvider
Implements ICmdletProviderSupportsHelp
Inheritance
Implements

Constructors

CertificateProvider() CertificateProvider() CertificateProvider() CertificateProvider()

Initializes a new instance of the CertificateProvider class. This initializes the default certificate store locations.

Explicit Interface Implementations

ICmdletProviderSupportsHelp.GetHelpMaml(String, String) ICmdletProviderSupportsHelp.GetHelpMaml(String, String) ICmdletProviderSupportsHelp.GetHelpMaml(String, String) ICmdletProviderSupportsHelp.GetHelpMaml(String, String)

Get provider-specific help

Properties

Credential Credential Credential Credential

Gets the credentials under which the operation should run.

(Inherited from CmdletProvider)
CurrentPSTransaction CurrentPSTransaction CurrentPSTransaction CurrentPSTransaction

Gets an object that surfaces the current PowerShell transaction. When this object is disposed, PowerShell resets the active transaction

(Inherited from CmdletProvider)
DynamicParameters DynamicParameters DynamicParameters DynamicParameters

The dynamic parameters object populated with the values as specified by the user.

(Inherited from CmdletProvider)
Exclude Exclude Exclude Exclude

Gets the exclude wildcard patterns which is used to determine which items will be excluded when taking an action.

(Inherited from CmdletProvider)
Filter Filter Filter Filter

Gets the provider specific filter that was supplied by the caller.

(Inherited from CmdletProvider)
Force Force Force Force

Gets the force property.

(Inherited from CmdletProvider)
Host Host Host Host

Gets the host interaction APIs.

(Inherited from CmdletProvider)
Include Include Include Include

Gets the include wildcard patterns which is used to determine which items will be included when taking an action.

(Inherited from CmdletProvider)
InvokeCommand InvokeCommand InvokeCommand InvokeCommand

Gets the instance of the command invocation APIs for the current runspace.

(Inherited from CmdletProvider)
InvokeProvider InvokeProvider InvokeProvider InvokeProvider

Gets the instance of the provider interface APIs for the current runspace.

(Inherited from CmdletProvider)
ProviderInfo ProviderInfo ProviderInfo ProviderInfo

The information about the provider that is stored in the runspace on behalf of the provider.

(Inherited from CmdletProvider)
PSDriveInfo PSDriveInfo PSDriveInfo PSDriveInfo

The drive information associated with the context of the current operation.

(Inherited from CmdletProvider)
SessionState SessionState SessionState SessionState

Gets the instance of session state for the current runspace.

(Inherited from CmdletProvider)
Stopping Stopping Stopping Stopping

Indicates whether stop has been requested on this provider.

(Inherited from CmdletProvider)

Methods

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

Clears the item specified by the path.

(Inherited from ItemCmdletProvider)
ClearItemDynamicParameters(String) ClearItemDynamicParameters(String) ClearItemDynamicParameters(String) ClearItemDynamicParameters(String)

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

(Inherited from ItemCmdletProvider)
ConvertPath(String, String, String, String) 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.

(Inherited from ContainerCmdletProvider)
CopyItem(String, String, Boolean) 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.

(Inherited from ContainerCmdletProvider)
CopyItemDynamicParameters(String, String, Boolean) 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.

(Inherited from ContainerCmdletProvider)
ExpandPath(String) 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.

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

Gets the children of the item at the specified path.

(Inherited from ContainerCmdletProvider)
GetChildItems(String, Boolean, UInt32) GetChildItems(String, Boolean, UInt32) GetChildItems(String, Boolean, UInt32) GetChildItems(String, Boolean, UInt32)

Gets the children of the item at the specified path.

(Inherited from ContainerCmdletProvider)
GetChildItemsDynamicParameters(String, Boolean) GetChildItemsDynamicParameters(String, Boolean) GetChildItemsDynamicParameters(String, Boolean) GetChildItemsDynamicParameters(String, Boolean)

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

(Inherited from ContainerCmdletProvider)
GetChildName(String) GetChildName(String) GetChildName(String) GetChildName(String)

Gets the name of the leaf element in the specified path.

(Inherited from NavigationCmdletProvider)
GetChildNames(String, ReturnContainers) GetChildNames(String, ReturnContainers) GetChildNames(String, ReturnContainers) GetChildNames(String, ReturnContainers)

Gets names of the children of the specified path.

(Inherited from ContainerCmdletProvider)
GetChildNamesDynamicParameters(String) GetChildNamesDynamicParameters(String) GetChildNamesDynamicParameters(String) GetChildNamesDynamicParameters(String)

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

(Inherited from ContainerCmdletProvider)
GetItem(String) GetItem(String) GetItem(String) GetItem(String)

Gets the item at the specified path.

(Inherited from ItemCmdletProvider)
GetItemDynamicParameters(String) GetItemDynamicParameters(String) GetItemDynamicParameters(String) GetItemDynamicParameters(String)

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

(Inherited from ItemCmdletProvider)
GetParentPath(String, String) GetParentPath(String, String) GetParentPath(String, String) GetParentPath(String, String)

Removes the child segment of a path and returns the remaining parent portion.

(Inherited from NavigationCmdletProvider)
GetResourceString(String, String) GetResourceString(String, String) GetResourceString(String, String) GetResourceString(String, String)

Gets the resource string corresponding to baseName and resourceId from the current assembly. You should override this if you require a different behavior.

(Inherited from CmdletProvider)
HasChildItems(String) HasChildItems(String) HasChildItems(String) HasChildItems(String)

Determines if the item at the specified path has children.

(Inherited from ContainerCmdletProvider)
InitializeDefaultDrives() InitializeDefaultDrives() InitializeDefaultDrives() InitializeDefaultDrives()

Gives the provider the ability to map drives after initialization.

(Inherited from DriveCmdletProvider)
InvokeDefaultAction(String) InvokeDefaultAction(String) InvokeDefaultAction(String) InvokeDefaultAction(String)

Invokes the default action on the specified item.

(Inherited from ItemCmdletProvider)
InvokeDefaultActionDynamicParameters(String) InvokeDefaultActionDynamicParameters(String) InvokeDefaultActionDynamicParameters(String) InvokeDefaultActionDynamicParameters(String)

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

(Inherited from ItemCmdletProvider)
IsItemContainer(String) IsItemContainer(String) IsItemContainer(String) IsItemContainer(String)

Determines if the item specified by the path is a container.

(Inherited from NavigationCmdletProvider)
IsValidPath(String) IsValidPath(String) IsValidPath(String) IsValidPath(String)

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

(Inherited from ItemCmdletProvider)
ItemExists(String) ItemExists(String) ItemExists(String) ItemExists(String)

Determines if an item exists at the specified path.

(Inherited from ItemCmdletProvider)
ItemExistsDynamicParameters(String) ItemExistsDynamicParameters(String) ItemExistsDynamicParameters(String) ItemExistsDynamicParameters(String)

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

(Inherited from ItemCmdletProvider)
MakePath(String, String) MakePath(String, String) MakePath(String, String) MakePath(String, String)

Joins two strings with a path a provider specific path separator.

(Inherited from NavigationCmdletProvider)
MakePath(String, String, Boolean) MakePath(String, String, Boolean) MakePath(String, String, Boolean) MakePath(String, String, Boolean)

Joins two strings with a path a provider specific path separator.

(Inherited from NavigationCmdletProvider)
MoveItem(String, String) MoveItem(String, String) MoveItem(String, String) MoveItem(String, String)

Moves the item specified by path to the specified destination.

(Inherited from NavigationCmdletProvider)
MoveItemDynamicParameters(String, String) MoveItemDynamicParameters(String, String) MoveItemDynamicParameters(String, String) MoveItemDynamicParameters(String, String)

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

(Inherited from NavigationCmdletProvider)
NewDrive(PSDriveInfo) NewDrive(PSDriveInfo) NewDrive(PSDriveInfo) NewDrive(PSDriveInfo)

Gives the provider an opportunity to validate the drive that is being added. It also allows the provider to modify parts of the PSDriveInfo object. This may be done for performance or reliability reasons or to provide extra data to all calls using the Drive.

(Inherited from DriveCmdletProvider)
NewDriveDynamicParameters() NewDriveDynamicParameters() NewDriveDynamicParameters() NewDriveDynamicParameters()

Gives the provider an opportunity to attach additional parameters to the New-PSDrive cmdlet.

(Inherited from DriveCmdletProvider)
NewItem(String, String, Object) NewItem(String, String, Object) NewItem(String, String, Object) NewItem(String, String, Object)

Creates a new item at the specified path.

(Inherited from ContainerCmdletProvider)
NewItemDynamicParameters(String, String, Object) 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.

(Inherited from ContainerCmdletProvider)
NormalizeRelativePath(String, String) NormalizeRelativePath(String, String) NormalizeRelativePath(String, String) NormalizeRelativePath(String, String)

Normalizes the path that was passed in and returns the normalized path as a relative path to the basePath that was passed.

(Inherited from NavigationCmdletProvider)
RemoveDrive(PSDriveInfo) RemoveDrive(PSDriveInfo) RemoveDrive(PSDriveInfo) RemoveDrive(PSDriveInfo)

Gives the provider an opportunity to clean up any provider specific data for the drive that is going to be removed.

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

Removes (deletes) the item at the specified path

(Inherited from ContainerCmdletProvider)
RemoveItemDynamicParameters(String, Boolean) RemoveItemDynamicParameters(String, Boolean) RemoveItemDynamicParameters(String, Boolean) RemoveItemDynamicParameters(String, Boolean)

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

(Inherited from ContainerCmdletProvider)
RenameItem(String, String) RenameItem(String, String) RenameItem(String, String) RenameItem(String, String)

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

(Inherited from ContainerCmdletProvider)
RenameItemDynamicParameters(String, String) RenameItemDynamicParameters(String, String) RenameItemDynamicParameters(String, String) RenameItemDynamicParameters(String, String)

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

(Inherited from ContainerCmdletProvider)
SetItem(String, Object) SetItem(String, Object) SetItem(String, Object) SetItem(String, Object)

Sets the item specified by the path.

(Inherited from ItemCmdletProvider)
SetItemDynamicParameters(String, Object) SetItemDynamicParameters(String, Object) SetItemDynamicParameters(String, Object) SetItemDynamicParameters(String, Object)

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

(Inherited from ItemCmdletProvider)
ShouldContinue(String, String) 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) ShouldContinue(String, String, Boolean, Boolean) Inherited from CmdletProvider
ShouldProcess(String) ShouldProcess(String) ShouldProcess(String) ShouldProcess(String) Inherited from CmdletProvider
ShouldProcess(String, String) ShouldProcess(String, String) ShouldProcess(String, String) ShouldProcess(String, String) Inherited from CmdletProvider
ShouldProcess(String, String, String) 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) ShouldProcess(String, String, String, ShouldProcessReason) Inherited from CmdletProvider
Start(ProviderInfo) Start(ProviderInfo) Start(ProviderInfo) Start(ProviderInfo)

Gives the provider the opportunity to initialize itself.

(Inherited from CmdletProvider)
StartDynamicParameters() StartDynamicParameters() StartDynamicParameters() StartDynamicParameters()

Gets an object that defines the additional parameters for the Start implementation for a provider.

(Inherited from CmdletProvider)
Stop() Stop() Stop() Stop()

Called by session state when the provider is being removed.

(Inherited from CmdletProvider)
StopProcessing() StopProcessing() StopProcessing() StopProcessing() Inherited from CmdletProvider
ThrowTerminatingError(ErrorRecord) ThrowTerminatingError(ErrorRecord) ThrowTerminatingError(ErrorRecord) ThrowTerminatingError(ErrorRecord) Inherited from CmdletProvider
TransactionAvailable() TransactionAvailable() TransactionAvailable() TransactionAvailable()

Returns true if a transaction is available and active.

(Inherited from CmdletProvider)
WriteDebug(String) WriteDebug(String) WriteDebug(String) WriteDebug(String) Inherited from CmdletProvider
WriteError(ErrorRecord) WriteError(ErrorRecord) WriteError(ErrorRecord) WriteError(ErrorRecord) Inherited from CmdletProvider
WriteInformation(InformationRecord) WriteInformation(InformationRecord) WriteInformation(InformationRecord) WriteInformation(InformationRecord) Inherited from CmdletProvider
WriteInformation(Object, String[]) WriteInformation(Object, String[]) WriteInformation(Object, String[]) WriteInformation(Object, String[]) Inherited from CmdletProvider
WriteItemObject(Object, String, Boolean) WriteItemObject(Object, String, Boolean) WriteItemObject(Object, String, Boolean) WriteItemObject(Object, String, Boolean)

Writes an item to the output as a PSObject with extra data attached as notes.

(Inherited from CmdletProvider)
WriteProgress(ProgressRecord) WriteProgress(ProgressRecord) WriteProgress(ProgressRecord) WriteProgress(ProgressRecord) Inherited from CmdletProvider
WritePropertyObject(Object, String) WritePropertyObject(Object, String) WritePropertyObject(Object, String) WritePropertyObject(Object, String)

Writes a property object to the output as a PSObject with extra data attached as notes.

(Inherited from CmdletProvider)
WriteSecurityDescriptorObject(ObjectSecurity, String) WriteSecurityDescriptorObject(ObjectSecurity, String) WriteSecurityDescriptorObject(ObjectSecurity, String) WriteSecurityDescriptorObject(ObjectSecurity, String)

Writes a Security Descriptor object to the output as a PSObject with extra data attached as notes.

(Inherited from CmdletProvider)
WriteVerbose(String) WriteVerbose(String) WriteVerbose(String) WriteVerbose(String) Inherited from CmdletProvider
WriteWarning(String) WriteWarning(String) WriteWarning(String) WriteWarning(String) Inherited from CmdletProvider

Applies to