Skip to content

Instantly share code, notes, and snippets.

@JburkeRSAC
Created March 21, 2019 23:55
Show Gist options
  • Select an option

  • Save JburkeRSAC/55d847da75faa7d37f84444ae1006deb to your computer and use it in GitHub Desktop.

Select an option

Save JburkeRSAC/55d847da75faa7d37f84444ae1006deb to your computer and use it in GitHub Desktop.
author__ = '[email protected]'
import wmi
c = wmi.WMI ()
for process in c.Win32_Process ():
#print process
print process.ProcessId, process.Name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment