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
You could skin the cat another way by simply managing the Windows Audio Service. Stop it to mute, start it to unmute.