VariableProvider VariableProvider VariableProvider Class

Definition

This provider is the data accessor for shell variables. It uses the HashtableProvider as the base class to get a hashtable as a data store.

[System.Management.Automation.OutputType(typeof(System.Management.Automation.PSVariable), ProviderCmdlet="Set-Item")]
[System.Management.Automation.OutputType(typeof(System.Management.Automation.PSVariable), ProviderCmdlet="Rename-Item")]
[System.Management.Automation.OutputType(typeof(System.Management.Automation.PSVariable), ProviderCmdlet="Copy-Item")]
[System.Management.Automation.OutputType(typeof(System.Management.Automation.PSVariable), ProviderCmdlet="Get-Item")]
[System.Management.Automation.OutputType(typeof(System.Management.Automation.PSVariable), ProviderCmdlet="New-Item")]
[System.Management.Automation.Provider.CmdletProvider("Variable", System.Management.Automation.Provider.ProviderCapabilities.ShouldProcess)]
public sealed class VariableProvider : Microsoft.PowerShell.Commands.SessionStateProviderBase
type VariableProvider = class
    inherit SessionStateProviderBase
Public NotInheritable Class VariableProvider
Inherits SessionStateProviderBase
Inheritance
Attributes

Constructors

VariableProvider() VariableProvider() VariableProvider()

The constructor for the provider that exposes variables to the user as drives.

Fields

ProviderName ProviderName ProviderName

Gets the name of the provider

Methods

ClearContent(String) ClearContent(String) ClearContent(String) Inherited from SessionStateProviderBase
ClearContentDynamicParameters(String) ClearContentDynamicParameters(String) ClearContentDynamicParameters(String) Inherited from SessionStateProviderBase
ClearItem(String) ClearItem(String) ClearItem(String) Inherited from SessionStateProviderBase
ClearItemDynamicParameters(String) ClearItemDynamicParameters(String) ClearItemDynamicParameters(String) Inherited from ItemCmdletProvider
ConvertPath(String, String, String, String) ConvertPath(String, String, String, String) ConvertPath(String, String, String, String) Inherited from ContainerCmdletProvider
CopyItem(String, String, Boolean) CopyItem(String, String, Boolean) CopyItem(String, String, Boolean) Inherited from SessionStateProviderBase
CopyItemDynamicParameters(String, String, Boolean) CopyItemDynamicParameters(String, String, Boolean) CopyItemDynamicParameters(String, String, Boolean) Inherited from ContainerCmdletProvider
ExpandPath(String) ExpandPath(String) ExpandPath(String) Inherited from ItemCmdletProvider
GetChildItems(String, Boolean) GetChildItems(String, Boolean) GetChildItems(String, Boolean) Inherited from SessionStateProviderBase
GetChildItems(String, Boolean, UInt32) GetChildItems(String, Boolean, UInt32) GetChildItems(String, Boolean, UInt32) Inherited from ContainerCmdletProvider
GetChildItemsDynamicParameters(String, Boolean) GetChildItemsDynamicParameters(String, Boolean) GetChildItemsDynamicParameters(String, Boolean) Inherited from ContainerCmdletProvider
GetChildNames(String, ReturnContainers) GetChildNames(String, ReturnContainers) GetChildNames(String, ReturnContainers) Inherited from SessionStateProviderBase
GetChildNamesDynamicParameters(String) GetChildNamesDynamicParameters(String) GetChildNamesDynamicParameters(String) Inherited from ContainerCmdletProvider
GetContentReader(String) GetContentReader(String) GetContentReader(String) Inherited from SessionStateProviderBase
GetContentReaderDynamicParameters(String) GetContentReaderDynamicParameters(String) GetContentReaderDynamicParameters(String) Inherited from SessionStateProviderBase
GetContentWriter(String) GetContentWriter(String) GetContentWriter(String) Inherited from SessionStateProviderBase
GetContentWriterDynamicParameters(String) GetContentWriterDynamicParameters(String) GetContentWriterDynamicParameters(String) Inherited from SessionStateProviderBase
GetItem(String) GetItem(String) GetItem(String) Inherited from SessionStateProviderBase
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) Inherited from SessionStateProviderBase
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 SessionStateProviderBase
ItemExists(String) ItemExists(String) ItemExists(String) Inherited from SessionStateProviderBase
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) Inherited from SessionStateProviderBase
NewItemDynamicParameters(String, String, Object) NewItemDynamicParameters(String, String, Object) NewItemDynamicParameters(String, String, Object) Inherited from ContainerCmdletProvider
RemoveDrive(PSDriveInfo) RemoveDrive(PSDriveInfo) RemoveDrive(PSDriveInfo) Inherited from DriveCmdletProvider
RemoveItem(String, Boolean) RemoveItem(String, Boolean) RemoveItem(String, Boolean) Inherited from SessionStateProviderBase
RemoveItemDynamicParameters(String, Boolean) RemoveItemDynamicParameters(String, Boolean) RemoveItemDynamicParameters(String, Boolean) Inherited from ContainerCmdletProvider
RenameItem(String, String) RenameItem(String, String) RenameItem(String, String) Inherited from SessionStateProviderBase
RenameItemDynamicParameters(String, String) RenameItemDynamicParameters(String, String) RenameItemDynamicParameters(String, String) Inherited from ContainerCmdletProvider
SetItem(String, Object) SetItem(String, Object) SetItem(String, Object) Inherited from SessionStateProviderBase
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