Question: Write a PowerShell script that meets the following requirements: Script must have appropriate comments explaining script (see tutorials) Full name and date must be included

Write a PowerShell script that meets the following requirements:

  • Script must have appropriate comments explaining script (see tutorials)
  • Full name and date must be included in script as comment
  • Script must call each function at least one time.
  1. Write a function that list the software (name and vendor) installed on the computer specified by input argument. The function must output the list to screen and output the list to a CSV file. The CSV file name must be stuname_software.csv where stuname is the students first and last name inputted as an argument to the function.
  2. Write a function that lists the free disk space and percentage of disk space used on the computer. The function must accept a computer name as an input argument. The function must also output the list to screen and output the list to a CSV file. The CSV file name must be device_hdspace.csv where device is the computer name inputted as an argument to the function.

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