Modules.PSOneTools
Modules.PSOneTools copied to clipboard
Group-ObjectFast -Property Name are the same for each Group
$vmObjs is an array of Azure VM objects
$vmObjs | Group-ObjectFast -Property osType | Select-Object -Property Count, Name, Values
Count Name Values
----- ---- ------
9482 Windows
292 Windows
36837 Windows
$vmObjs | Group-Object -Property osType | Select-Object -Property Count, Name, Values
Count Name Values
----- ---- ------
9482 Linux {Linux}
36837 Windows {Windows}
292 {}
Any thoughts on how to fix?
I am on vacation right now but will look afterwards. Seems to be an issue with how the key is generated...