Hey, Scripting Guy! How Can I Use WMI with Windows PowerShell?/b/heyscriptingguy/archive/2009/03/02/how-can-i-use-wmi-with-windows-powershell.aspxI have been looking at Windows PowerShell, and think it would be cool to use. We use WMI a lot at work, and I am wondering if I can gather the same kinds of information using Windows PowerShell that we use VBScript for? Is Windows PowerShell designedThe Hey, Scripting Guy! Blog is the number one blog hosting daily Windows PowerShell articles in a simple, scenario driven, how to format.7.x ProductionRE: Hey, Scripting Guy! How Can I Use WMI with Windows PowerShell?http://blogs.technet.com/b/heyscriptingguy/archive/2009/03/02/how-can-i-use-wmi-with-windows-powershell.aspxSun, 22 Jan 2012 00:30:56 GMTd5e57398-b9ef-4490-9955-07cbb4e4a80d:2f4ceae4-488d-4ad7-86d8-033014e8144cAnonymous0<p>@MerrySue I am glad you were able to get some of the commands to work. The Win32_SoundDevice WMI class should work on all versions of Windows that support Windows PowerShell -- ie. Windows XP and above. I just tested this command: GWMI Win32_SoundDevice on two different computers -- both running Windows 7, and the command works on both computers. One computer is a corporate standard Laptop, and the other is a computer I build myself. The two sound cards are also made by two different companies. So Unfortunately, I am not sure why you are not getting anyinformation. </p>
<img src="http://blogs.technet.com/aggbug.aspx?PostID=3247642&AppID=7618&AppType=Weblog&ContentType=0" width="1" height="1">RE: Hey, Scripting Guy! How Can I Use WMI with Windows PowerShell?http://blogs.technet.com/b/heyscriptingguy/archive/2009/03/02/how-can-i-use-wmi-with-windows-powershell.aspxSat, 21 Jan 2012 10:47:14 GMTd5e57398-b9ef-4490-9955-07cbb4e4a80d:2f4ceae4-488d-4ad7-86d8-033014e8144cAnonymous0<p>ok,I tried a couple of these &amp; they worked, but couldn&#39;t get any results for my sound device. I&#39;m looking for information about my sound card and/or driver. Will it tell me if I don&#39;t have a sound card installed?</p>
<img src="http://blogs.technet.com/aggbug.aspx?PostID=3247642&AppID=7618&AppType=Weblog&ContentType=0" width="1" height="1">