start /min "Pegasus" "c:\Program Files (x86)\Pegasus Astro\Unity Platform\server\Peg.Server.exe"
timeout 10

curl -X PUT "http://localhost:32000/Server/Start"
timeout 5
curl -X OPTIONS "http://localhost:32000/Driver/PPBAdvance/Start?DriverUniqueKey=832d0c8d-4774-4cee-a3c8-af876f6f281c"
curl -X PUT "http://localhost:32000/Driver/PPBAdvance/Power/Hub/Off?DriverUniqueKey=832d0c8d-4774-4cee-a3c8-af876f6f281c"
curl -X PUT "http://localhost:32000/Driver/PPBAdvance/Power/Variable/Off?DriverUniqueKey=832d0c8d-4774-4cee-a3c8-af876f6f281c"
curl -X PUT "http://localhost:32000/Driver/PPBAdvance/Dew/1/Off?DriverUniqueKey=832d0c8d-4774-4cee-a3c8-af876f6f281c"
curl -X PUT "http://localhost:32000/Driver/PPBAdvance/Dew/2/Off?DriverUniqueKey=832d0c8d-4774-4cee-a3c8-af876f6f281c"
curl -X POST "http://localhost:32000/Driver/PPBAdvance/Dew/Auto/Off?DriverUniqueKey=832d0c8d-4774-4cee-a3c8-af876f6f281c"

timeout 5

telegraf.exe --config telegraf.conf