Skip to content

Help doc enhancement for ConvertFrom-StringData cmdlet #2002

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 3, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,15 @@ TypeName: System.String
Name MemberType Definition
---- ---------- ----------
Clone Method System.Object Clone()
...

PS C:\> $hash = convertfrom-stringdata -stringdata $p
PS C:\> $hash | get-member
TypeName: System.Collections.Hashtable

Name MemberType Definition
---- ---------- ----------
Add Method System.Void Add(Object key, Object
...

```

These commands demonstrate that ConvertFrom-StringData actually converts a here-string to a hash table.
Expand Down Expand Up @@ -246,9 +246,8 @@ ConvertFrom-StringData returns a hash table that it creates from the key/value p
* A here-string is a string consisting of one or more lines within which quotation marks are interpreted literally. For more information, see about_Quoting_Rules.

ConvertFrom-StringData can be useful in scripts that display user messages in multiple spoken languages.
You can use the dictionary-style hash tables to isolate text strings from code, such as in resource files, and to format the text strings for use in translation tools.
You can use the dictionary-style hash tables to isolate text strings from code, such as in resource files, and to format the text strings for use in translation tools.

*
## RELATED LINKS

[about_Quoting_Rules](../Microsoft.PowerShell.Core/About/about_Quoting_Rules.md)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,15 @@ TypeName: System.String
Name MemberType Definition
---- ---------- ----------
Clone Method System.Object Clone()
...

PS C:\> $hash = convertfrom-stringdata -stringdata $p
PS C:\> $hash | get-member
TypeName: System.Collections.Hashtable

Name MemberType Definition
---- ---------- ----------
Add Method System.Void Add(Object key, Object
...

```

These commands demonstrate that ConvertFrom-StringData actually converts a here-string to a hash table.
Expand Down Expand Up @@ -259,9 +259,8 @@ ConvertFrom-StringData returns a hash table that it creates from the key/value p
* A here-string is a string consisting of one or more lines within which quotation marks are interpreted literally. For more information, see about_Quoting_Rules.

ConvertFrom-StringData can be useful in scripts that display user messages in multiple spoken languages.
You can use the dictionary-style hash tables to isolate text strings from code, such as in resource files, and to format the text strings for use in translation tools.
You can use the dictionary-style hash tables to isolate text strings from code, such as in resource files, and to format the text strings for use in translation tools.

*

## RELATED LINKS

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,14 @@ TypeName: System.String
Name MemberType Definition
---- ---------- ----------
Clone Method System.Object Clone()
... PS C:\> $Hash = ConvertFrom-StringData -StringData $P

PS C:\> $Hash = ConvertFrom-StringData -StringData $P
PS C:\> $Hash | Get-Member
TypeName: System.Collections.Hashtable
Name MemberType Definition
---- ---------- ----------
Add Method System.Void Add(Object key, Object
...

```

These commands demonstrate that **ConvertFrom-StringData** actually converts a here-string to a hash table.
Expand Down Expand Up @@ -251,9 +252,8 @@ This cmdlet returns a hash table that it creates from the key/value pairs.
* A here-string is a string consisting of one or more lines within which quotation marks are interpreted literally.

This cmdlet can be useful in scripts that display user messages in multiple spoken languages.
You can use the dictionary-style hash tables to isolate text strings from code, such as in resource files, and to format the text strings for use in translation tools.
You can use the dictionary-style hash tables to isolate text strings from code, such as in resource files, and to format the text strings for use in translation tools.

*

## RELATED LINKS

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,14 @@ TypeName: System.String
Name MemberType Definition
---- ---------- ----------
Clone Method System.Object Clone()
... PS C:\> $Hash = ConvertFrom-StringData -StringData $P

PS C:\> $Hash = ConvertFrom-StringData -StringData $P
PS C:\> $Hash | Get-Member
TypeName: System.Collections.Hashtable
Name MemberType Definition
---- ---------- ----------
Add Method System.Void Add(Object key, Object
...

```

These commands demonstrate that **ConvertFrom-StringData** actually converts a here-string to a hash table.
Expand Down Expand Up @@ -252,9 +253,8 @@ This cmdlet returns a hash table that it creates from the key/value pairs.
* A here-string is a string consisting of one or more lines within which quotation marks are interpreted literally.

This cmdlet can be useful in scripts that display user messages in multiple spoken languages.
You can use the dictionary-style hash tables to isolate text strings from code, such as in resource files, and to format the text strings for use in translation tools.
You can use the dictionary-style hash tables to isolate text strings from code, such as in resource files, and to format the text strings for use in translation tools.

*

## RELATED LINKS

Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,14 @@ TypeName: System.String
Name MemberType Definition
---- ---------- ----------
Clone Method System.Object Clone()
... PS C:\> $Hash = ConvertFrom-StringData -StringData $P

PS C:\> $Hash = ConvertFrom-StringData -StringData $P
PS C:\> $Hash | Get-Member
TypeName: System.Collections.Hashtable
Name MemberType Definition
---- ---------- ----------
Add Method System.Void Add(Object key, Object
...

```

These commands demonstrate that **ConvertFrom-StringData** actually converts a here-string to a hash table.
Expand Down Expand Up @@ -288,9 +289,8 @@ This cmdlet returns a hash table that it creates from the key/value pairs.
* A here-string is a string consisting of one or more lines within which quotation marks are interpreted literally.

This cmdlet can be useful in scripts that display user messages in multiple spoken languages.
You can use the dictionary-style hash tables to isolate text strings from code, such as in resource files, and to format the text strings for use in translation tools.
You can use the dictionary-style hash tables to isolate text strings from code, such as in resource files, and to format the text strings for use in translation tools.

*

## RELATED LINKS