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
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