Question: It is important for a system administrator / security analyst to collect system information on a regular basis to monitor host activities. Write a PowerShell
It is important for a system administratorsecurity analyst to collect system information on a regular basis to monitor host activities. Write a PowerShell script, sysadmin.ps for system administrators. When used, the script should print out a report an output file that contains the following information.
a The date and time of running the report.
b Use an input parameter, like what we did in GetDiskUsage.ps If ShowService parameter is included, list services running on the system sorted by the number of services depending on them only the first entries
c If ShowService parameter is not included, do not list services running.
d In both cases either b or c list names and count of entries from the security event log grouped and sorted by name only the first entries
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
