Skip to content

Instantly share code, notes, and snippets.

@conorbranagan
Created November 27, 2012 17:24
Show Gist options
  • Save conorbranagan/4155665 to your computer and use it in GitHub Desktop.
Save conorbranagan/4155665 to your computer and use it in GitHub Desktop.
test IIS integration
import wmi
w = wmi.WMI('172.23.33.110', user=None, password=None)
wmi_cls = w.Win32_PerfFormattedData_W3SVC_WebService(name="_Total")[0]
print wmi_cls.BytesSentPerSec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment