How can I convert an array object to string?
I tried:
$a = \"This\", \"Is\", \"a\", \"cat\" [system.String]::J
I found that piping the array to the Out-String cmdlet works well too.
For example:
PS C:\> $a | out-string This Is a cat
It depends on your end goal as to which method is the best to use.