diff --git a/appveyor-build.bat b/appveyor-build.bat index 25912847c..cf23226ab 100644 --- a/appveyor-build.bat +++ b/appveyor-build.bat @@ -6,5 +6,5 @@ bash -c ./appveyor-build.sh REM Check if this build should set up a debugging session IF "%ENABLE_RDP%"=="1" ( - powershell $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) + powershell -command "$blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))" )