ci / rust (push) Canceled after 0s
ci / web (push) Canceled after 0s
ci / package-preview (push) Canceled after 0s
ci / package-installer (push) Canceled after 0s
ci / linux-agent (push) Canceled after 0s
ci / edge-service (push) Canceled after 0s
ci / coturn-pop (push) Canceled after 0s
ci / package-windows-host (push) Canceled after 0s
12 lines
342 B
Batchfile
12 lines
342 B
Batchfile
@echo off
|
|
setlocal
|
|
set "SCRIPT=%~dp0Configure-RemoteDeskHost.ps1"
|
|
if not exist "%SCRIPT%" (
|
|
echo Configure-RemoteDeskHost.ps1 is missing.
|
|
exit /b 1
|
|
)
|
|
powershell.exe -NoProfile -ExecutionPolicy Bypass -File "%SCRIPT%" -Action Enable -AcceptRemoteDesktopChanges
|
|
set "EXITCODE=%ERRORLEVEL%"
|
|
if not "%EXITCODE%"=="0" pause
|
|
exit /b %EXITCODE%
|