diff --git a/reference/5.1/Microsoft.PowerShell.Core/About/about_Hash_Tables.md b/reference/5.1/Microsoft.PowerShell.Core/About/about_Hash_Tables.md index 45eb67522d2b..ea9dc3daf56b 100644 --- a/reference/5.1/Microsoft.PowerShell.Core/About/about_Hash_Tables.md +++ b/reference/5.1/Microsoft.PowerShell.Core/About/about_Hash_Tables.md @@ -16,7 +16,7 @@ Describes how to create, use, and sort hashtables in PowerShell. ## Long description A hashtable, also known as a dictionary or associative array, is a compact data -structure that stores one or more key-value pairs. For example, a hash table +structure that stores one or more key-value pairs. For example, a hashtable might contain a series of IP addresses and computer names, where the IP addresses are the keys and the computer names are the values, or vice versa. @@ -431,8 +431,8 @@ $now = (Get-Date) $hash.Add($t, $now) ``` -You can't use a subtraction operator to remove a key-value pair from a hash -table, but you can use the `Remove()` method of the hashtable object. The +You can't use a subtraction operator to remove a key-value pair from a +hashtable, but you can use the `Remove()` method of the hashtable object. The `Remove` method has the following syntax: ``` @@ -561,8 +561,8 @@ Although you can't sort a hashtable, you can use the `GetEnumerator()` method of hashtables to enumerate the keys and values, and then use the `Sort-Object` cmdlet to sort the enumerated values for display. -For example, the following commands enumerate the keys and values in the hash -table in the `$p` variable and then sort the keys in alphabetical order. +For example, the following commands enumerate the keys and values in the +hashtable in the `$p` variable and then sort the keys in alphabetical order. ```powershell PS> $p.GetEnumerator() | Sort-Object -Property key diff --git a/reference/7.4/Microsoft.PowerShell.Core/About/about_Hash_Tables.md b/reference/7.4/Microsoft.PowerShell.Core/About/about_Hash_Tables.md index 25d2bf72ac37..d7fc46636af6 100644 --- a/reference/7.4/Microsoft.PowerShell.Core/About/about_Hash_Tables.md +++ b/reference/7.4/Microsoft.PowerShell.Core/About/about_Hash_Tables.md @@ -16,7 +16,7 @@ Describes how to create, use, and sort hashtables in PowerShell. ## Long description A hashtable, also known as a dictionary or associative array, is a compact data -structure that stores one or more key-value pairs. For example, a hash table +structure that stores one or more key-value pairs. For example, a hashtable might contain a series of IP addresses and computer names, where the IP addresses are the keys and the computer names are the values, or vice versa. @@ -431,8 +431,8 @@ $now = (Get-Date) $hash.Add($t, $now) ``` -You can't use a subtraction operator to remove a key-value pair from a hash -table, but you can use the `Remove()` method of the hashtable object. The +You can't use a subtraction operator to remove a key-value pair from a +hashtable, but you can use the `Remove()` method of the hashtable object. The `Remove` method has the following syntax: ``` @@ -561,8 +561,8 @@ Although you can't sort a hashtable, you can use the `GetEnumerator()` method of hashtables to enumerate the keys and values, and then use the `Sort-Object` cmdlet to sort the enumerated values for display. -For example, the following commands enumerate the keys and values in the hash -table in the `$p` variable and then sort the keys in alphabetical order. +For example, the following commands enumerate the keys and values in the +hashtable in the `$p` variable and then sort the keys in alphabetical order. ```powershell PS> $p.GetEnumerator() | Sort-Object -Property key diff --git a/reference/7.5/Microsoft.PowerShell.Core/About/about_Hash_Tables.md b/reference/7.5/Microsoft.PowerShell.Core/About/about_Hash_Tables.md index 962385dab3d3..5af720358de3 100644 --- a/reference/7.5/Microsoft.PowerShell.Core/About/about_Hash_Tables.md +++ b/reference/7.5/Microsoft.PowerShell.Core/About/about_Hash_Tables.md @@ -16,7 +16,7 @@ Describes how to create, use, and sort hashtables in PowerShell. ## Long description A hashtable, also known as a dictionary or associative array, is a compact data -structure that stores one or more key-value pairs. For example, a hash table +structure that stores one or more key-value pairs. For example, a hashtable might contain a series of IP addresses and computer names, where the IP addresses are the keys and the computer names are the values, or vice versa. @@ -431,8 +431,8 @@ $now = (Get-Date) $hash.Add($t, $now) ``` -You can't use a subtraction operator to remove a key-value pair from a hash -table, but you can use the `Remove()` method of the hashtable object. The +You can't use a subtraction operator to remove a key-value pair from a +hashtable, but you can use the `Remove()` method of the hashtable object. The `Remove` method has the following syntax: ``` @@ -561,8 +561,8 @@ Although you can't sort a hashtable, you can use the `GetEnumerator()` method of hashtables to enumerate the keys and values, and then use the `Sort-Object` cmdlet to sort the enumerated values for display. -For example, the following commands enumerate the keys and values in the hash -table in the `$p` variable and then sort the keys in alphabetical order. +For example, the following commands enumerate the keys and values in the +hashtable in the `$p` variable and then sort the keys in alphabetical order. ```powershell PS> $p.GetEnumerator() | Sort-Object -Property key diff --git a/reference/7.6/Microsoft.PowerShell.Core/About/about_Hash_Tables.md b/reference/7.6/Microsoft.PowerShell.Core/About/about_Hash_Tables.md index 19adf00422b6..947e54e129f8 100644 --- a/reference/7.6/Microsoft.PowerShell.Core/About/about_Hash_Tables.md +++ b/reference/7.6/Microsoft.PowerShell.Core/About/about_Hash_Tables.md @@ -16,7 +16,7 @@ Describes how to create, use, and sort hashtables in PowerShell. ## Long description A hashtable, also known as a dictionary or associative array, is a compact data -structure that stores one or more key-value pairs. For example, a hash table +structure that stores one or more key-value pairs. For example, a hashtable might contain a series of IP addresses and computer names, where the IP addresses are the keys and the computer names are the values, or vice versa. @@ -431,8 +431,8 @@ $now = (Get-Date) $hash.Add($t, $now) ``` -You can't use a subtraction operator to remove a key-value pair from a hash -table, but you can use the `Remove()` method of the hashtable object. The +You can't use a subtraction operator to remove a key-value pair from a +hashtable, but you can use the `Remove()` method of the hashtable object. The `Remove` method has the following syntax: ``` @@ -561,8 +561,8 @@ Although you can't sort a hashtable, you can use the `GetEnumerator()` method of hashtables to enumerate the keys and values, and then use the `Sort-Object` cmdlet to sort the enumerated values for display. -For example, the following commands enumerate the keys and values in the hash -table in the `$p` variable and then sort the keys in alphabetical order. +For example, the following commands enumerate the keys and values in the +hashtable in the `$p` variable and then sort the keys in alphabetical order. ```powershell PS> $p.GetEnumerator() | Sort-Object -Property key