#LL #Blog
The #Blog# starts from here
Sunday, August 31, 2014
PowerShell Sorting Hash Table
This is just a quick one, how to sort PowerShell Hash Table:
$ht = @{}
$ht.Add(key1,value1)
$ht.Add(key2,value2)
$ht = $ht.GetEnumerator() | Sort-Object -Descending Value
No comments:
Post a Comment
Newer Post
Older Post
Home
No comments:
Post a Comment