title: Determine whether the Master System Volume is muted?
body: <p>I would like to write an Script to determine whether the Master System Volume is muted, to mute it or unmute it.</p>
  
  <p>Basically I want to do what is explained in <a href="https://stackoverflow.com/questions/2216334/how-to-control-windows-system-volume-using-jscript-or-vbscript">this</a> answer:</p>
  
  <pre><code>Set WshShell = CreateObject("WScript.Shell")
  WshShell.SendKeys(chr(&amp;hAD))
  </code></pre>
  
  <p>...but with a little improvement, what I would like to perform are two procedures, one for mute and the other for unmute, so I need to determine if it's muted or not.</p>
  
  <p>I already know how to do this using 3rd party libraries in other languages, but I need to do it with VisualBasicScipt so I have no idea where to start in this limited language, maybe WMI tells something about the current master volume level? if yes then I suppose that could save me.</p>
  
  <p>Any ideas?</p>