Link to home
Start Free TrialLog in
Avatar of SColleen
SColleen

asked on

How to calculate folder size using a PowerShell script on multiple servers in multiple directories?

Hello,, I am in need of a PowerShell script to calulate the size of folders or libraries located in various
directories on different servers. The size would be calculated from a path similar to
: "\\{servername}\{drive}\{Directoryname}\{library}\stacks"
There are 12 servers with at least 6 libraries needing size calculated then the sum of all libraries.
All this to be automated to a spreadsheet.

Thanks for your help.
Regards, SColleen
ASKER CERTIFIED SOLUTION
Avatar of Cong Minh Vo
Cong Minh Vo
Flag of Viet Nam image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of SColleen
SColleen

ASKER

Best solution was very clearly understood. Thank you both for your assistance. I had been meaning to reply earlier, sorry for the delay.