@@ -16,7 +16,7 @@ Describes how to create, use, and sort hashtables in PowerShell.
1616## Long description
1717
1818A hashtable, also known as a dictionary or associative array, is a compact data
19- structure that stores one or more key-value pairs. For example, a hash table
19+ structure that stores one or more key-value pairs. For example, a hashtable
2020might contain a series of IP addresses and computer names, where the IP
2121addresses are the keys and the computer names are the values, or vice versa.
2222
@@ -431,8 +431,8 @@ $now = (Get-Date)
431431$hash.Add($t, $now)
432432```
433433
434- You can't use a subtraction operator to remove a key-value pair from a hash
435- table, but you can use the ` Remove() ` method of the hashtable object. The
434+ You can't use a subtraction operator to remove a key-value pair from a hashtable,
435+ but you can use the ` Remove() ` method of the hashtable object. The
436436` Remove ` method has the following syntax:
437437
438438```
@@ -561,8 +561,8 @@ Although you can't sort a hashtable, you can use the `GetEnumerator()` method
561561of hashtables to enumerate the keys and values, and then use the ` Sort-Object `
562562cmdlet to sort the enumerated values for display.
563563
564- For example, the following commands enumerate the keys and values in the hash
565- table in the ` $p ` variable and then sort the keys in alphabetical order.
564+ For example, the following commands enumerate the keys and values in the hashtable
565+ in the ` $p ` variable and then sort the keys in alphabetical order.
566566
567567``` powershell
568568PS> $p.GetEnumerator() | Sort-Object -Property key
0 commit comments