@echo off powershell.exe -NoLogo -NoProfile -ExecutionPolicy Bypass -File "%~dp0MSOpen.ps1" killport %* exit /b %errorlevel%