<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Volume on Anything About IT</title><link>https://www.verboon.info/tags/volume/</link><description>Recent content in Volume on Anything About IT</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Wed, 29 May 2013 16:53:47 +0000</lastBuildDate><atom:link href="https://www.verboon.info/tags/volume/index.xml" rel="self" type="application/rss+xml"/><item><title>How to configure system volume with PowerShell</title><link>https://www.verboon.info/2013/05/how-to-configure-system-volume-with-powershell/</link><pubDate>Wed, 29 May 2013 16:53:47 +0000</pubDate><guid>https://www.verboon.info/2013/05/how-to-configure-system-volume-with-powershell/</guid><description>&lt;p&gt;Back in 2011 I wrote a blog post on &lt;a href="https://www.verboon.info/index.php/2011/01/mute-windows-system-volume/"&gt;how to mute Windows System Volume&lt;/a&gt; programmatically.  This week I found another approach on GitHub using PowerShell.&lt;/p&gt;
&lt;p&gt;The PowerShell Module &lt;a href="https://github.com/cdhunt/WindowsAudioDevice-Powershell-Cmdlet"&gt;WindowsAudioDevice-Powershell-Cmdlet&lt;/a&gt;** **provides a number of cmdlets to control the Windows System volume.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Get-DefaultAudioDevice&lt;/li&gt;
&lt;li&gt;Get-AudioDeviceList&lt;/li&gt;
&lt;li&gt;Set-DefaultAudioDevice [-Index] &lt;Int&gt;&lt;/li&gt;
&lt;li&gt;Set-DefaultAudioDevice [-Name] &lt;String&gt;&lt;/li&gt;
&lt;li&gt;Set-DefaultAudioDevice [-InputObject] &lt;AudioDevice&gt;&lt;/li&gt;
&lt;li&gt;Set-DefaultAudioDeviceVolume -Volume &lt;float&gt;&lt;/li&gt;
&lt;li&gt;Get-DefaultAudioDeviceVolume&lt;/li&gt;
&lt;li&gt;Set-DefaultAudioDeviceMute&lt;/li&gt;
&lt;li&gt;Write-DefaultAudioDeviceValue [-StreamValue&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I wrote the below PowerShell script to solve a request to set the system volume to mute.&lt;/p&gt;</description></item><item><title>Mute Windows System Volume</title><link>https://www.verboon.info/2011/01/mute-windows-system-volume/</link><pubDate>Sat, 15 Jan 2011 17:46:36 +0000</pubDate><guid>https://www.verboon.info/2011/01/mute-windows-system-volume/</guid><description>&lt;p&gt;I came across a forum post where someone asked how to programmatically mute the Windows System volume. So this is what I have found:&lt;/p&gt;
&lt;p&gt;
 &lt;img src="images/image_thumb1.png" alt="image"&gt;

&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;NirCmd&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.nirsoft.net/utils/nircmd.html"&gt;NirCmd&lt;/a&gt; from NirSoft is a small command-line utility that contains many smart functions like muting and unmuting the system volume.&lt;/p&gt;
&lt;p&gt;To mute the system volume, simply run the following command&lt;/p&gt;
&lt;p&gt;nircmd.exe mutesysvolume 1&lt;/p&gt;
&lt;p&gt;and to unmute you run&lt;/p&gt;
&lt;p&gt;nircmd.exe mutesysvolume 0&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;With VBScript&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Another option is to use a VBscript, the following code I found &lt;a href="http://www.nilpo.com/2008/11/windows-xp/mute-sound-volume-in-wsh/"&gt;here&lt;/a&gt; will mute or unmute the system volume&lt;/p&gt;</description></item></channel></rss>