@echo off
if not exist "%~dp0Setup-PlayerConnection.ps1" (
  echo Download Setup-PlayerConnection.ps1 into the same folder as this file.
  pause
  exit /b 1
)
start "" "%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -WindowStyle Hidden -ExecutionPolicy Bypass -File "%~dp0Setup-PlayerConnection.ps1"
exit /b 0
