@echo off Set workdir=%~d0%~p0 Set checkpid=%workdir%\Check-Pid.ps1 powershell -NoLogo -NoProfile -NonInteractive -EP Bypass -File %checkpid% %* -SimpleOutput