Skip to content

Instantly share code, notes, and snippets.

@curious-username
Created April 19, 2023 17:36
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 curious-username/c5c0d0d41390a93d21ff5513ca9d172a to your computer and use it in GitHub Desktop.
Save curious-username/c5c0d0d41390a93d21ff5513ca9d172a to your computer and use it in GitHub Desktop.
test
Get-Process -IncludeUserName | Select-Object -Unique | Where-Object {$_.UserName -notlike 'NT AUTHORITY\SYSTEM' -and $_.UserName -notlike 'NT AUTHORITY\NETWORK SERVICE' -and $_.UserName -notlike 'NT AUTHORITY\LOCAL SERVICE'} | Format-Table -Wrap -AutoSize
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment