Skip to content

Instantly share code, notes, and snippets.

@Purp1eW0lf
Last active May 11, 2022 14:36
Show Gist options
  • Save Purp1eW0lf/3f2a6af7f66f5a6d2dc4300da68dd7fd to your computer and use it in GitHub Desktop.
Save Purp1eW0lf/3f2a6af7f66f5a6d2dc4300da68dd7fd to your computer and use it in GitHub Desktop.
Process_User_cmd.ps1
gwmi win32_process |
Select Name,@{n='Owner';e={$_.GetOwner().User}},CommandLine |
sort Name -unique -descending | Sort Owner |
ft -wrap -autosize
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment