I have the following table (names are one column and colors are another column):
- Bob green
- Bob red
- Frank blue
- Frank yellow
that I need to be like this:
- Bob green, red
- Frank blue, yellow
I've attempted to use group-object in PowerShell but it just gives me the fields in an array. Essentially, I need to grab reach element in the second column (grouped by column 1) and add them as one row with a delimiter.
There's got to be a simple way of doing this that I'm missing.