Contact Info

Crumbtrail » Administration » Powershell » Powershell 3.0 » ConvertFrom-StringData

ConvertFrom-StringData - Powershell 3.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 »


Short description
Converts a string containing one or more key/value pairs to a hash table.

ConvertFrom-StringData [-StringData] <String> [<CommonParameters>]

The ConvertFrom-StringData cmdlet converts a string that contains one or more key/value pairs into a hash table.  Becau
se each key/value pair must be on a separate line, here-strings are often used as the input format.

The ConvertFrom-StringData cmdlet is considered to be a safe cmdlet that can be used in the DATA section of a script or
 function. When used in a DATA section, the contents of the string must conform to the rules for a DATA section. For mo
re information, see about_Data_Sections.