powershell map array code example Example: powershell map array $a = @("file1.txt","file2.txt") $b = "c:\temp\" $c = $a | % { $b + $_ }