This forum is closed. Thank you for your contributions.
After executing command i'm getting System.String[] error, where output length is too high i guess. please help!
Thank You!
NTRao
Some properties are string arrays. This is normal.
\_(ツ)_/
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