Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2011-09-06
3
Medium Priority
?
1,364 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 1200 total points
ID: 36493004
0
 
LVL 13

Assisted Solution

by:Felix Leven
Felix Leven earned 800 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

A brief introduction to what I consider to be the best editor for PowerShell.
There are times when we need to generate a report on the inbox rules, where users have set up forwarding externally in their mailbox. In this article, I will be sharing a script I wrote to generate the report in CSV format.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…

971 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