Question: Write a PowerShell program that takes input of a folder name and determines the following: the number of files in the folder, the average size

Write a PowerShell program that takes input of a folder name and determines the following: the number of files in the folder, the average size of a file in this folder and the number of files that are larger than the average size and the number of files that are smaller in size than the average size. The program should report the findings on screen and must also write them in a file

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!