ConvertFromSecureStringCommand ConvertFromSecureStringCommand ConvertFromSecureStringCommand Class

Definition

Defines the implementation of the 'ConvertFrom-SecureString' cmdlet. This cmdlet exports a new SecureString -- one that represents text that should be kept confidential. The text is encrypted for privacy when being used, and deleted from computer memory when no longer needed. When no key is specified, the command uses the DPAPI to encrypt the string. When a key is specified, the command uses the AES algorithm to encrypt the string.

[System.Management.Automation.Cmdlet("ConvertFrom", "SecureString", DefaultParameterSetName="Secure", HelpUri="https://go.microsoft.com/fwlink/?LinkID=113287")]
[System.Management.Automation.OutputType(typeof(System.String))]
public sealed class ConvertFromSecureStringCommand : Microsoft.PowerShell.Commands.ConvertFromToSecureStringCommandBase
type ConvertFromSecureStringCommand = class
    inherit ConvertFromToSecureStringCommandBase
Public NotInheritable Class ConvertFromSecureStringCommand
Inherits ConvertFromToSecureStringCommandBase
Inheritance
Attributes

Constructors

ConvertFromSecureStringCommand() ConvertFromSecureStringCommand() ConvertFromSecureStringCommand()

Initializes a new instance of the ExportSecureStringCommand class

Properties

CommandOrigin CommandOrigin CommandOrigin Inherited from InternalCommand
CommandRuntime CommandRuntime CommandRuntime Inherited from Cmdlet
CurrentPSTransaction CurrentPSTransaction CurrentPSTransaction Inherited from Cmdlet
Events Events Events Inherited from PSCmdlet
Host Host Host Inherited from PSCmdlet
InvokeCommand InvokeCommand InvokeCommand Inherited from PSCmdlet
InvokeProvider InvokeProvider InvokeProvider Inherited from PSCmdlet
JobManager JobManager JobManager Inherited from PSCmdlet
JobRepository JobRepository JobRepository Inherited from PSCmdlet
Key Key Key Inherited from ConvertFromToSecureStringCommandBase
MyInvocation MyInvocation MyInvocation Inherited from PSCmdlet
PagingParameters PagingParameters PagingParameters Inherited from PSCmdlet
ParameterSetName ParameterSetName ParameterSetName Inherited from PSCmdlet
SecureKey SecureKey SecureKey Inherited from ConvertFromToSecureStringCommandBase
SecureString SecureString SecureString

Gets or sets the secure string to be exported.

SecureStringData SecureStringData SecureStringData Inherited from SecureStringCommandBase
SessionState SessionState SessionState Inherited from PSCmdlet
Stopping Stopping Stopping Inherited from Cmdlet

Methods

BeginProcessing() BeginProcessing() BeginProcessing() Inherited from Cmdlet
CurrentProviderLocation(String) CurrentProviderLocation(String) CurrentProviderLocation(String) Inherited from PSCmdlet
EndProcessing() EndProcessing() EndProcessing() Inherited from Cmdlet
GetResolvedProviderPathFromPSPath(String, ProviderInfo) GetResolvedProviderPathFromPSPath(String, ProviderInfo) GetResolvedProviderPathFromPSPath(String, ProviderInfo) Inherited from PSCmdlet
GetResourceString(String, String) GetResourceString(String, String) GetResourceString(String, String) Inherited from Cmdlet
GetUnresolvedProviderPathFromPSPath(String) GetUnresolvedProviderPathFromPSPath(String) GetUnresolvedProviderPathFromPSPath(String) Inherited from PSCmdlet
GetVariableValue(String) GetVariableValue(String) GetVariableValue(String) Inherited from PSCmdlet
GetVariableValue(String, Object) GetVariableValue(String, Object) GetVariableValue(String, Object) Inherited from PSCmdlet
Invoke() Invoke() Invoke() Inherited from Cmdlet
Invoke<T>() Invoke<T>() Invoke<T>() Inherited from Cmdlet
ProcessRecord() ProcessRecord() ProcessRecord() Inherited from Cmdlet
ShouldContinue(String, String) ShouldContinue(String, String) ShouldContinue(String, String) Inherited from Cmdlet
ShouldContinue(String, String, Boolean, Boolean) ShouldContinue(String, String, Boolean, Boolean) ShouldContinue(String, String, Boolean, Boolean) Inherited from Cmdlet
ShouldContinue(String, String, Boolean, Boolean, Boolean) ShouldContinue(String, String, Boolean, Boolean, Boolean) ShouldContinue(String, String, Boolean, Boolean, Boolean) Inherited from Cmdlet
ShouldProcess(String) ShouldProcess(String) ShouldProcess(String) Inherited from Cmdlet
ShouldProcess(String, String) ShouldProcess(String, String) ShouldProcess(String, String) Inherited from Cmdlet
ShouldProcess(String, String, String) ShouldProcess(String, String, String) ShouldProcess(String, String, String) Inherited from Cmdlet
ShouldProcess(String, String, String, ShouldProcessReason) ShouldProcess(String, String, String, ShouldProcessReason) ShouldProcess(String, String, String, ShouldProcessReason) Inherited from Cmdlet
StopProcessing() StopProcessing() StopProcessing() Inherited from Cmdlet
ThrowTerminatingError(ErrorRecord) ThrowTerminatingError(ErrorRecord) ThrowTerminatingError(ErrorRecord) Inherited from Cmdlet
TransactionAvailable() TransactionAvailable() TransactionAvailable() Inherited from Cmdlet
WriteCommandDetail(String) WriteCommandDetail(String) WriteCommandDetail(String) Inherited from Cmdlet
WriteDebug(String) WriteDebug(String) WriteDebug(String) Inherited from Cmdlet
WriteError(ErrorRecord) WriteError(ErrorRecord) WriteError(ErrorRecord) Inherited from Cmdlet
WriteInformation(InformationRecord) WriteInformation(InformationRecord) WriteInformation(InformationRecord) Inherited from Cmdlet
WriteInformation(Object, String[]) WriteInformation(Object, String[]) WriteInformation(Object, String[]) Inherited from Cmdlet
WriteObject(Object) WriteObject(Object) WriteObject(Object) Inherited from Cmdlet
WriteObject(Object, Boolean) WriteObject(Object, Boolean) WriteObject(Object, Boolean) Inherited from Cmdlet
WriteProgress(ProgressRecord) WriteProgress(ProgressRecord) WriteProgress(ProgressRecord) Inherited from Cmdlet
WriteVerbose(String) WriteVerbose(String) WriteVerbose(String) Inherited from Cmdlet
WriteWarning(String) WriteWarning(String) WriteWarning(String) Inherited from Cmdlet

Applies to