Files
win-remote-audio/toggle-audio.cmd
T

8 lines
231 B
Batchfile

@echo off
powershell.exe -NoProfile -ExecutionPolicy Bypass -File "%~dp0audio.ps1" toggle -NonInteractive
if errorlevel 1 (
echo.
echo Remote audio did not toggle. Review the error above, or run audio.ps1 logs.
pause
)