Trying to write a PowerShell cmdlet that will mute the sound at start, unless already muted, and un-mute it at the end (only if it wasn\'t muted to begin with). Couldn\'t fi
Solution in vbscript:
Set WshShell = CreateObject("WScript.Shell") For i = 0 To 50 WshShell.SendKeys(chr(174)) WScript.Sleep 100 Next
The keys reduce the volume by 2 each time.