Skip to content

Latest commit

 

History

History
 
 

AsHashTable

Group-Object -AsHashTable and custom expressions

When Group-Object is used with the switch AsHashTable and Property specified as a string expression then the result hashtable indexer ($table[key]) does not find expected entries.

Other expressions, i.e. not strings, may produce expected results.

Scripts


  • StackOverflow
  • windowsserver.uservoice.com/forums/301869-powershell/suggestions/15053526--bug-group-object-with-ashashtable-and-custom-ex