Why does PowerShell split my concatenated paths into separate array elements?
I'm new to PowerShell and ran into confusing behavior when building an array of file paths. A single concatenation works as expected: $test = $ENV:USERPROFILE + 'NTUSER.DAT' This…