Popular recipes tagged "wmi" but not "win32"http://code.activestate.com/recipes/tags/wmi-win32/2010-03-12T05:25:52-08:00ActiveState Code Recipesironpython 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>
Super 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>