Powershell scripts cannot be launched as commands on Windows. They must be run through the `powershell` or `pwsh` tool.
Move environment setup to job-specific scripts so we can reuse the common `.cmake_test_windows_external` code path.