build.cmd (2 lines of code) (raw):

@echo off powershell.exe -NoProfile -ExecutionPolicy RemoteSigned -Command "%~dpn0.ps1" %*