Categories
October Surprise 2024

about_Hash_Tables – PowerShell | Microsoft Learn

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.