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
Get step-by-step solutions from verified subject matter experts
