voyeur icon indicating copy to clipboard operation
voyeur copied to clipboard

"All Groups" tab only returns single column

Open Junohea opened this issue 8 years ago • 1 comments

When running the tool and exporting to excel I am only seeing a single column (in this case, "whenChanged") I have tried the following:

  • default config setting, as well as
  • defining custom filters

Not sure what the culprit could be here, thoughts?

Junohea avatar Nov 17 '16 20:11 Junohea

There is a bug that $record is reset after each property collection cycle. Fixed by modifying file "Plugins\Groups.ps1" and moving "$record = @{}" to the right location. Following code has to be changed: ---cut---------------- foreach ($result in $Results){ foreach ($Property in $GroupProperties){ $record = @{} if($Property -eq "groupType"){ ---cut----------------

to following code: ---cut---------------- foreach ($result in $Results){ $record = @{} foreach ($Property in $GroupProperties){ if($Property -eq "groupType"){ ---cut----------------

nonefaken avatar May 23 '17 14:05 nonefaken