However I don’t know how to expand it so it shows the full name of the group or all the items in users. I’ve played around with wrap, autosize, setting the $formatenumerationlimit to -1, which expanded some of the users but still not all of them.
The way your’e doing it, it can’t. When PowerShell needs to display a collection of items in a single property, it uses the {} syntax you’re seeing. That’s entire by design. If you want something else - what, a comma-separated list? - you have to do that yourself.
Or instead of , perhaps use `n if you want carriage returns.
For example. This makes the collection of discrete values into one giant string, with names separated by commas.
A LOT of people run into this. The ultimate problem is that you’re using a flat data display - a table, which is not unlike a CSV - to display hierarchical data. Just wasn’t designed for it. PowerShell isn’t really about visualizing data - it’s more about working with data that is structured in the form of objects. So if you’re trying to do something weird for a display, you’re on your own to code it.
Well it’s good to know a lot of people run into this, I was beginning to think I am crazy
I think I am going to stick to what I learned in the other thread you helped me in. I am not much of a coder, I’m a sys admin who gets stuck into getting this kind of stuff because I’m the only one in my group who is comfortable in powershell. I’ve been trying to be nice and give people stuff formatted nicely. However if this is a limitation, they can deal with it