Autosize not expand all data

Welcome Forums General PowerShell Q&A Autosize not expand all data

Viewing 2 reply threads
  • Author
    • #246108
      Topics: 3
      Replies: 1
      Points: 30
      Rank: Member

      Hi All,

      How can i expand the value of group to all groups and make is readable? tried autosize, didn’t work


      • This topic was modified 2 months, 3 weeks ago by Meropr36.
    • #246147
      Topics: 7
      Replies: 2458
      Points: 6,439
      Helping Hand
      Rank: Community MVP

      You have several options to get these information. I think it depends on what you need it for. Sometimes it’s enough to “expand” the array members and “join” them as strings:


      If you don’t want the groups with their distinguished names you have to do one step more. You could do it like this:


      … or like this:

    • #249101
      Topics: 1
      Replies: 84
      Points: 382
      Helping Hand
      Rank: Contributor

      You have this issue because the default collection result size of a property in a format command is 4. So when you have more than 4 items in your property’s collection, you see the 4 items followed by .... To get around this, you can adjust that default value using the automatic variable $formatenumerationlimit.


Viewing 2 reply threads
  • You must be logged in to reply to this topic.