Question: Programming Project Part 1 Using PowerShell ISE or VSCode, create a PowerShell script that does the following: Launch an application (notepad.exe) Find the process ID

Programming Project Part 1

Using PowerShell ISE or VSCode, create a PowerShell script that does the following:

  1. Launch an application (notepad.exe)
  2. Find the process ID of the newly launched application
  3. Kill the process using the process ID you found

Programming Project Part 2

Using PowerShell ISE or VSCode, create a PowerShell script that does the following:

  1. Provide a list of all the services that are in the running state and include a total at the end of the display
  2. Provide a list of all the services that are in the stopped state and include a total at the end of the display

Upload the script. Paste screenshots of the results here include a screenshot for the running and a screenshot for the stopped. Be sure they show the totals.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!