How can I convert an array object to string?
I tried:
$a = \"This\", \"Is\", \"a\", \"cat\" [system.String]::J
$a = "This", "Is", "a", "cat" foreach ( $word in $a ) { $sent = "$sent $word" } $sent = $sent.Substring(1) Write-Host $sent