1@echo off 2setlocal EnableDelayedExpansion 3setlocal EnableExtensions 4"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass -NoLogo -NonInteractive -NoProfile -WindowStyle Hidden -File "%1" 5exit /B %ERRORLEVEL%