Report on Specific Folders use of Disk Space through SCRIPT using PowerShell or VB
-
Saturday, March 23, 2013 2:37 AM
I have a group of 150 servers that have unique folders on one or more drives on each server. I am looking for a way to be able to report on the amount of storage space these specific folders are taking up. There is software out there that can scan over the network and connect to shares and tell me, but it is extremely slow.
I was curious if there is a way via Powershell or VB to Provide a file to the server with the paths I need checked for size, recorded and sent back to me that would also initiate the job from the local server where the data sits?
It would be great if I could push the script and kick off the task from my laptop. Any one have a good idea.
All Replies
-
Saturday, March 23, 2013 5:17 AM
take a look here: http://technet.microsoft.com/en-au/scriptcenter/bb410849.aspx
the script repository is likely to have something you can use.
perhaps in combination with psexec (if VBscripting) (or PSremoting) (to make the script execute locally on the target server)or consider someplace like codeplex or sourceforge
the dedicated scripting forum is here: http://social.technet.microsoft.com/Forums/en/ITCG/threads/
Don
(Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)- Edited by Don - tesgroupMicrosoft Community Contributor Saturday, March 23, 2013 5:17 AM
- Proposed As Answer by Santosh BhandarkarMicrosoft Community Contributor, Moderator Saturday, March 23, 2013 7:41 AM
- Marked As Answer by Yan Li_Microsoft Contingent Staff, Moderator Friday, March 29, 2013 1:47 AM
-
Monday, March 25, 2013 5:33 AMModerator
Hi,
Like what Don suggested, please post in the official scripting guys forum:
http://social.technet.microsoft.com/Forums/en/ITCG/threads/
Regards,
Yan Li
If you have any feedback on our support, please click here .
Cataleya Li
TechNet Community Support


