Question: You will need to create a PowerShell Script that provides an interactive menu allowing the users to (1) update virus definitions (2) perform a virus
You will need to create a PowerShell Script that provides an interactive menu allowing the users to (1) update virus definitions (2) perform a virus scan (3) remove threats and (4) exit.
Your script must include the following:
- Present a menu to individuals running the script.
- Use Switch to build an interactive menu.
- You must store the end users response as a variable.
- Your script must make use of a minimum of 4 functions. If you have additional functions that is okay.
- Update definitions function
- Perform scan function.
- Remove threats function.
- Exit function.
- Upon the completion of each function, you should return to the selection menu except for the exit function which should end the script.
- Throughout your script you should provide beautification and a description of what is happening by using the write-host cmdlet.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
