How to configure system volume with PowerShell

Back in 2011 I wrote a blog post on how to mute Windows System Volume programmatically.  This week I found another approach on GitHub using PowerShell. The PowerShell Module WindowsAudioDevice-Powershell-Cmdlet provides a number of cmdlets to control the Windows System volume. Get-DefaultAudioDevice Get-AudioDeviceList Set-DefaultAudioDevice [-Index] <Int> Set-DefaultAudioDevice [-Name] <String> Set-DefaultAudioDevice [-InputObject] <AudioDevice> Set-DefaultAudioDeviceVolume -Volume <float> Get-DefaultAudioDeviceVolume Set-DefaultAudioDeviceMute Write-DefaultAudioDeviceValue [-StreamValue I wrote the below PowerShell script to solve a request to set the system volume to mute. Read More …

Mute Windows System Volume

I came across a forum post where someone asked how to programmatically mute the Windows System volume. So this is what I have found: NirCmd NirCmd from NirSoft is a small command-line utility that contains many smart functions like muting and unmuting the system volume. To mute the system volume, simply run the following command nircmd.exe mutesysvolume 1 and to unmute you run nircmd.exe mutesysvolume 0 With VBScript Another option is to use a VBscript, Read More …