@echo off rem Windows wrapper for scripts/hooks.ps1 (restart). powershell -NoProfile -ExecutionPolicy Bypass -File "%~dp0hooks.ps1" -Mode restart %* exit /b %ERRORLEVEL%