Restore.cmd (3 lines of code) (raw):

@echo off powershell -ExecutionPolicy ByPass -NoProfile -command "& """%~dp0eng\common\Build.ps1""" -restore %*" exit /b %ErrorLevel%