Skip to content

Instantly share code, notes, and snippets.

@JburkeRSAC
Created March 21, 2019 23:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JburkeRSAC/55d847da75faa7d37f84444ae1006deb to your computer and use it in GitHub Desktop.
Save JburkeRSAC/55d847da75faa7d37f84444ae1006deb to your computer and use it in GitHub Desktop.
author__ = 'jburke@wapacklabs.com'
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