Question: This MUST be done using PowerShell commands. PowerShell Script: 1 . Ask the user which service they would like to stop. 2 . Assign the
This MUST be done using PowerShell commands.
PowerShell Script:
Ask the user which service they would like to stop.
Assign the input from the user to a variable.
Restart the service using the variable listed above.
Respond to the user with a message indicating that the requested service has been restarted.
Your response must use the variable name to specify which service was restarted.
This script should run regardless of who runs this script.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
