GroupObject -AsHashTable should "core" any PSObjects being used as keys #6933
Labels
Issue-Bug
Issue has been identified as a bug in the product
Resolution-Fixed
The issue is fixed.
WG-Cmdlets-Utility
cmdlets in the Microsoft.PowerShell.Utility module
There is a bug when using the
-AsHashTable
flag onGroup-Object
such that the keys in the hashtable are still wrapped inPSObject
when added to the table. This makes them useless because you can't retrieve the entry and confusing because it looks like a string but it isn't. See this issue on StackOverflow and also this oneSteps to reproduce
Expected behavior
Actual behavior
Environment data
(This fails on all version of PowerShell)
The text was updated successfully, but these errors were encountered: