Question: Powershell Script Create a system documentation script that performs the following actions. Informs the user that this script will document the current status of their

Powershell Script

Create a system documentation script that performs the following actions.

Informs the user that this script will document the current status of their system Asks the user if they want to capture information about the system If they do, capture all required information If they don't, present a menu asking them what they would like to document

If the user chooses to document information about the system, the script should capture the following information.

A list of running processes saved as c:\powershell\procs.csv A list of all services saved as c:\powershell\services.csv The latest 50 items from the system event log saved as c:\powershell\syslog.csv The latest 50 items from the application event log saved as c:\powershell\applog.csv A list of all volumes saved as c:\powershell\volume.csv

If the user does not want to capture information about their system, present them with a menu to do the following.

View current processes sorted by CPU usage in descending order one page at a time View the system services, sorted by status with running services first, in a table with a header for running and stopped services one page at a time The newest 50 items from the system log The newest 50 items from the application log The current volume information

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 Databases Questions!