Solved

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

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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
A procedure for exporting installed hotfix details of remote computers using powershell
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

707 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

17 Experts available now in Live!

Get 1:1 Help Now