@echo off setlocal DisableDelayedExpansion rem Parse this block before running an update that may replace this file. ( "%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NoProfile -ExecutionPolicy Bypass -File "%~dp0scripts\Invoke-XasCli.ps1" %* call exit /b %%errorlevel%% )