Solved

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

Posted on 2011-09-06
3
1,302 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

Hi all.   The other day I had to change the passwords for a bunch of users on the fly. Because they were so many, I decided to do it in an automated way and I would like to share it with you all.   If you are not doing it directly in a Domain Co…
Set OWA language and time zone in Exchange for individuals, all users or per database.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
A short film showing how OnPage and Connectwise integration works.

948 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now