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:
1. Ask the user which service they would like to stop.
2. Assign the input from the user to a variable.
3. Restart the service using the variable listed above.
4. Respond to the user with a message indicating that the requested service has been restarted.
5. 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 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 Programming Questions!