Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 2.0 » ConvertFrom-StringData

ConvertFrom-StringData - 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 »

ConvertFrom-StringData

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

Syntax
ConvertFrom-StringData [-StringData] <string> [<CommonParameters>]

Description
The ConvertFrom-StringData cmdlet converts a string that contains one or more key/value pairs into a hash table.  B
    ecause 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 scrip
    t or function. When used in a DATA section, the contents of the string must conform to the rules for a DATA section
    . For more information, see about_Data_Sections.