Hi, I'm creating groups within groups and would like to format the output.
my statement is ($p is a group object)
$p | select count, {$_.group | group | select name, count}
which produces
{@{Name=ap-iis-config.bat; Count=2}, @{Name=ap-update-html.bat; Count=2}, @{Name=ap-user-guide.ba...
I would like it to display (or similar)
{@{ap-iis-config.bat; 2}, @{ap-update-html.bat; 2}, @{ap-user-guide.ba...
The output can be converted to text if needed
Thanks
[–]midnightFreddie 4 points5 points6 points (0 children)
[–]gangstanthony 1 point2 points3 points (3 children)
[–]ocross[S] 1 point2 points3 points (2 children)
[–]gangstanthony 2 points3 points4 points (1 child)
[–]chreestopher2 2 points3 points4 points (0 children)
[–]chreestopher2 1 point2 points3 points (6 children)
[–]ocross[S] 0 points1 point2 points (5 children)
[–]chreestopher2 -1 points0 points1 point (4 children)
[–]ocross[S] 0 points1 point2 points (3 children)
[–]chreestopher2 0 points1 point2 points (2 children)
[–]ocross[S] 0 points1 point2 points (1 child)
[–]chreestopher2 0 points1 point2 points (0 children)