Array output formatting

Welcome Forums General PowerShell Q&A Array output formatting

Viewing 2 reply threads
  • Author
    Posts
    • #255032
      Participant
      Topics: 1
      Replies: 1
      Points: 14
      Rank: Member

      hi all 🙂

      I’m messing around with some data from AD (security groups with Get-ADGroupMember) and am sending the output of each group into an array, then sending each of these arrays into a “master” array. This is fine – indexing working fine, I can output the individual group member arrays or the collective array.

      But! Whatever I output always ends up as a list. Always. Even the master array. Just wondering if there’s something easy I’m missing? happy to paste the code if it would help.

    • #255035
      Participant
      Topics: 15
      Replies: 1766
      Points: 3,182
      Helping Hand
      Rank: Community Hero

      It is difficult to assist you if it is simply guessing what you are doing, seeing, expecting without providing any code or examples.

    • #255281
      Participant
      Topics: 1
      Replies: 1
      Points: 14
      Rank: Member

      Hi Rob,

      Sorry for the delay – GitHub noob so hopefully I’ve done this right…???

      Thanks you!

      • This reply was modified 2 weeks, 1 day ago by grokkit. Reason: display code locally
Viewing 2 reply threads
  • You must be logged in to reply to this topic.