Forum Discussion
John_Dodo
Feb 10, 2022Brass Contributor
Ordering data in hash of hashes
Hello, I have this piece of code : ...
#Get GPOs with all settings disabled
$GpoList |
Where-Object {$_.gpostatus -eq "allsettingsdisabled"} |
ForEach-Object{
...
- Feb 10, 2022Take a look at ordered hashtables: https://docs.microsoft.com/en-us/powershell/scripting/learn/deep-dives/everything-about-hashtable?view=powershell-7.2#ordered-hashtables
dotpwsh
Feb 10, 2022Copper Contributor
Take a look at ordered hashtables: https://docs.microsoft.com/en-us/powershell/scripting/learn/deep-dives/everything-about-hashtable?view=powershell-7.2#ordered-hashtables