locked
Solution for System.String[] RRS feed

  • Question

  • After executing command i'm getting System.String[] error, where output length is too high i guess.

    please help!

    Thank You!

    NTRao

    • Moved by Bill_Stewart Monday, March 12, 2018 9:35 PM Help vampire
    Friday, February 9, 2018 4:14 AM

All replies

  • Some properties are string arrays. This is normal.


    \_(ツ)_/

    Friday, February 9, 2018 4:49 AM
  • Hi Jrv,

    Here is the output i'm getting

    How can i get actual output instead of System.String[]

    Thank You!

    NTRao
    Friday, February 9, 2018 7:20 AM
  • Either select one of the array or concatenate the array into a string.

    $a = 1,2,3,4,5
    $a -Join '|'

    Start here so you know how to use basic PowerShell. It will also help you learn how to ask a technical question.

    Learn PowerShell  


    \_(ツ)_/

    Friday, February 9, 2018 8:03 AM