PowerShell for IT Professionals [#3] – Running Commands

Reading Time: < 1 minute
Running Commands with PowerShell


  1. Display a list of all services that start with the letter W
  2. Display all processes (you might need to use Help to discover the right command. Remember the noun might be singular).
  3. Open Notepad (you can simply punch in notepad in the shell)
    1. Display only processes that have a name “Notepad”
    2. Once you can there’s only one instance of Notepad running, close it with PowerShell! (Verb would be Stop)
    3. Confirm with Shell there are no more Notepad processes running
  4. Display last 10 lines of C:\windows\setupact.log file (the command you’d like to use has Content in noun

Commands used in video

0 comments on “PowerShell for IT Professionals [#3] – Running Commands

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.