Complete the PowerShell script below by filling-in the missing information so that the script will satisfy the following requirements: • Close all open instances of notepad running on your computer. ● When you run the script with two instances of Notepad running, output similar to the following is shown (ID number: differ). o notepad with process ID: 2088 was stopped. o notepad with process ID: 2568 was stopped. Solution Clear-Host = "notepad" SilentlyContinue Stop-Process -PassThru | ID + was stopped.} -Name $process name with process ID: '

A+ Guide To It Technical Support
10th Edition
ISBN:9780357108291
Author:ANDREWS, Jean.
Publisher:ANDREWS, Jean.
Chapter13: Maintaining Windows
Section: Chapter Questions
Problem 19TC
icon
Related questions
Question
Complete the PowerShell script below by filling-in the missing information so that the script will satisfy the following
requirements:
• Close all open instances of notepad running on your computer.
• When you run the script with two instances of Notepad running, output similar to the following is shown (ID numbers may
differ).
o notepad with process ID: 2088 was stopped.
o notepad with process ID: 2568 was stopped.
Solution
Clear-Host
= "notepad"
SilentlyContinue
Stop-Process -PassThru |
{
ID+
was stopped.'}
Question ID: na-2101-0209-1112
-Name $process
name
with process ID:
Transcribed Image Text:Complete the PowerShell script below by filling-in the missing information so that the script will satisfy the following requirements: • Close all open instances of notepad running on your computer. • When you run the script with two instances of Notepad running, output similar to the following is shown (ID numbers may differ). o notepad with process ID: 2088 was stopped. o notepad with process ID: 2568 was stopped. Solution Clear-Host = "notepad" SilentlyContinue Stop-Process -PassThru | { ID+ was stopped.'} Question ID: na-2101-0209-1112 -Name $process name with process ID:
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Linux
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
A+ Guide To It Technical Support
A+ Guide To It Technical Support
Computer Science
ISBN:
9780357108291
Author:
ANDREWS, Jean.
Publisher:
Cengage,
LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
Computer Science
ISBN:
9781337569798
Author:
ECKERT
Publisher:
CENGAGE L