ConvertToSecureStringCommand Class

The ConvertTo-SecureString cmdlet class that is implemented by Windows PowerShell. This class is included in this SDK for completeness only. The members of this class cannot be used directly, nor should this class be used to derive other classes.


Namespace: Microsoft.PowerShell.Commands
Assembly: Microsoft.PowerShell.Security (in Microsoft.PowerShell.Security.dll)

'Usage
Dim instance As ConvertToSecureStringCommand

[OutputTypeAttribute(System.Compiler.TypeNode[])] 
[CmdletAttribute("ConvertTo", "SecureString", DefaultParameterSetName="Secure", HelpUri="http://go.microsoft.com/fwlink/?LinkID=113291")] 
public sealed class ConvertToSecureStringCommand : ConvertFromToSecureStringCommandBase
/** @attribute OutputTypeAttribute(System.Compiler.TypeNode[]) */ 
/** @attribute CmdletAttribute("ConvertTo", "SecureString", DefaultParameterSetName="Secure", HelpUri="http://go.microsoft.com/fwlink/?LinkID=113291") */ 
public final class ConvertToSecureStringCommand extends ConvertFromToSecureStringCommandBase
OutputTypeAttribute(System.Compiler.TypeNode[]) 
CmdletAttribute("ConvertTo", "SecureString", DefaultParameterSetName="Secure", HelpUri="http://go.microsoft.com/fwlink/?LinkID=113291") 
public final class ConvertToSecureStringCommand extends ConvertFromToSecureStringCommandBase

This cmdlet converts an encrypted standard string or a plain text string to a SecureString object. For more information about this cmdlet, see ConvertTo-SecureString in the Microsoft TechNet Library.

For Help at the command line, type:

get-help convertto-securitystring


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

 

Target Platforms


Show: