Skip to content

Instantly share code, notes, and snippets.

@bklockwood
Last active October 22, 2015 04:27
Show Gist options
  • Save bklockwood/c14e8d4e59e2446e3b72 to your computer and use it in GitHub Desktop.
Save bklockwood/c14e8d4e59e2446e3b72 to your computer and use it in GitHub Desktop.
multiple WHERE criteria
start-process notepad; start-process calc; start-process wordpad
start-process notepad; start-process calc; start-process wordpad
#now the part I always forget
get-process | where processname -in notepad,calc,wordpad
#spaces ok too
get-process | where processname -in notepad, calc, wordpad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment