Skip to content

Instantly share code, notes, and snippets.

@shelld0n
Created January 31, 2020 21:27
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 shelld0n/1a708d02563154976095de5270a316b4 to your computer and use it in GitHub Desktop.
Save shelld0n/1a708d02563154976095de5270a316b4 to your computer and use it in GitHub Desktop.
get PID of system process
Get-Process -IncludeUserName | Where-Object {$_.USERNAME -Like '*SYSTEM*'} | select ProcessName, Id, Handles
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment