Write a menu driven PowerShell script program on your PC to dothe following tasks:
(Create function for each task).
1. Display the server name (your PC)
2. Display the server IP address
3. Display all users currently on the server
4. Display the server disks information
5. Display the system date
6. Display all PowerShell Get Commands
7. Exit Program
Enter selection: _
Note: Your program should run forever until the user chooses toquit – (option 7).
Expert Answer
Answer to Write a menu driven PowerShell script program on your PC to do the following tasks: (Create function for each task). 1. …