Solved

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

Posted on 2011-09-06
3
1,305 Views
Last Modified: 2012-05-12
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
0
Comment
Question by:SColleen
3 Comments
 
LVL 15

Accepted Solution

by:
Minh Võ Công earned 300 total points
ID: 36493004
0
 
LVL 13

Assisted Solution

by:Felix Leven
Felix Leven earned 200 total points
ID: 36498879
0
 

Author Closing Comment

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

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
"Migrate" an SMTP relay receive connector to a new server using info from an old server.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question