Top-rated recipes tagged "wmi"http://code.activestate.com/recipes/tags/wmi/top/2014-07-31T17:33:19-07:00ActiveState Code RecipesSuper Shorcuts for Windows (Python) 2009-04-26T11:09:39-07:00Akira Forahttp://code.activestate.com/recipes/users/4114779/http://code.activestate.com/recipes/576730-super-shorcuts-for-windows/ <p style="color: grey"> Python recipe 576730 by <a href="/recipes/users/4114779/">Akira Fora</a> (<a href="/recipes/tags/process/">process</a>, <a href="/recipes/tags/windows/">windows</a>, <a href="/recipes/tags/wmi/">wmi</a>). </p> <p>This script allows one to launch or kill several applications at once. It works on MS Windows.</p> Get all installed Windows hotfixes (Perl) 2014-07-31T17:33:19-07:00Brett Carrollhttp://code.activestate.com/recipes/users/4174322/http://code.activestate.com/recipes/578917-get-all-installed-windows-hotfixes/ <p style="color: grey"> Perl recipe 578917 by <a href="/recipes/users/4174322/">Brett Carroll</a> (<a href="/recipes/tags/engineering/">engineering</a>, <a href="/recipes/tags/fix/">fix</a>, <a href="/recipes/tags/hotfix/">hotfix</a>, <a href="/recipes/tags/hotfixes/">hotfixes</a>, <a href="/recipes/tags/ole/">ole</a>, <a href="/recipes/tags/perl/">perl</a>, <a href="/recipes/tags/quick/">quick</a>, <a href="/recipes/tags/win32/">win32</a>, <a href="/recipes/tags/windows/">windows</a>, <a href="/recipes/tags/wmi/">wmi</a>). </p> <p>This script uses WMI (via Win32::OLE) to retrieve and print out a comma separated list of all installed Windows hotfixes.</p> Support and warranty information using WMI (Python) 2011-03-17T22:07:43-07:00Michael Grünewaldhttp://code.activestate.com/recipes/users/4172244/http://code.activestate.com/recipes/577123-support-and-warranty-information-using-wmi/ <p style="color: grey"> Python recipe 577123 by <a href="/recipes/users/4172244/">Michael Grünewald</a> (<a href="/recipes/tags/thinkpad/">thinkpad</a>, <a href="/recipes/tags/win32/">win32</a>, <a href="/recipes/tags/wmi/">wmi</a>). Revision 2. </p> <p>Shows the product code and serial number of a Thinkpad (of any computer with those information actually) and opens the Lenovo support and warranty pages for that system. It might work with other Lenovo computers too.</p> ironpython script to Monitor Servers internal CPU temprature using WMI MSAcpi_ThermalZoneTemperature with e-mail alerting capability (Python) 2010-03-12T05:25:52-08:00mgarrana Garranahttp://code.activestate.com/recipes/users/4171135/http://code.activestate.com/recipes/577103-ironpython-script-to-monitor-servers-internal-cpu-/ <p style="color: grey"> Python recipe 577103 by <a href="/recipes/users/4171135/">mgarrana Garrana</a> (<a href="/recipes/tags/cputemprature/">cputemprature</a>, <a href="/recipes/tags/ironpython/">ironpython</a>, <a href="/recipes/tags/managementobjectsearcher/">managementobjectsearcher</a>, <a href="/recipes/tags/msacpi_thermalzonetemperature/">msacpi_thermalzonetemperature</a>, <a href="/recipes/tags/smtplib/">smtplib</a>, <a href="/recipes/tags/wmi/">wmi</a>). </p> <p>ironpython script. It reads a txt file called servers.txt where it contains server names each in a separate line . it executes the function remoteconnect on each server name , the function connects to the server and reads the internal CPU TEMP from the WMI class MSAcpi_ThermalZoneTemperature located in namespace \root\WMI if internal CPU temp exceeds a certian Threshold , the function sends an alerting e-mail , it can also execute any other desired action using the same concept like sending an alerting sms</p>