powershell list to string with separator code example Example: powershell join array $a = "This", "Is", "a", "cat" [system.String]::Join(" ", $a)