ConvertTo-SecureString - Powershell 2.0 CmdLet
ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »
ConvertTo-SecureString
Short description Converts encrypted standard strings to secure strings. It can also convert plain text to secure strings. It is used Syntax Description The ConvertTo-SecureString cmdlet converts encrypted standard strings into secure strings. It can also convert plai n text to secure strings. It is used with ConvertFrom-SecureString and Read-Host. The secure string created by the cmdlet can be used with cmdlets or functions that require a parameter of type SecureString. The secure string can b e converted back to an encrypted, standard string using the ConvertFrom-SecureString cmdlet. This enables it to be stored in a file for later use. If the standard string being converted was encrypted with ConvertFrom-SecureString using a specified key, that same key must be provided as the value of the Key or SecureKey parameter of the ConvertTo-SecureString cmdlet.