PowerTip: Concatenate String Array with PowerShell
Summary: Use Windows PowerShell to concatenate elements of a array. How can I use Windows PowerShell to concatenate the elements of a string array? Use the static Concat method from the String class, for example: $a = "string a" $b = "string b" $arr = @($a,$b) [string]::Concat($arr)