Question
You are to develop a PowerShell script that displays a list of options to the user, prompts for input, and runs the function selected. It
You are to develop a PowerShell script that displays a list of options to the user, prompts for input, and runs the function selected. It can be tricky to find all the right commands and build the menu logic, so you will need the all of the allotted time to accomplish this script. Start early and ask questions in the Discussion Board.
The menu interface should include all of the following Requirements:
At command file startup, the color should be set to white text on a blue background and the screen should be cleared (5 points)
The menu options should be visible until you exit the script (unless displaying an option) (5 points)
A title for your utility should be displayed (5 points)
The date and time should be displayed at the top of the menu directly after or under the title (5 points)
The screen should be cleared before displaying the menu after commands are run (5 points)
Output that runs more than the length of the command window should be paged with the user prompted to press a key to run the next screen (5 points)
The user should be given time to examine the output of their selection before the menu is redisplayed (5 points)
The menu should include the following options:
Show System Hostname (10 points)
Show System IP Addresses (10 points)
Show System DNS Servers (8 points)
Show System Default Gateway (6 points)
Show Amount of Memory Available to Run Applications (6 points)
Show PATH environment variable (6 points)
List Drivers Installed on System (6 points)
List current running tasks (6 points)
Kill task (6 points)
Display a text file on the screen (6 points)
Get File Security Information (6 points)
Show All TCP/IP Network Connections and listening Ports (6 points)
You must display a prompt for the user to input an option, such as a process ID or file name. (6 points each for 16, 17, and 18)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started