Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

space usage on few servers

Posted on 2013-11-20
6
Medium Priority
?
142 Views
Last Modified: 2013-12-05
I am trying to find the space usage on each server. is there any easy way to get this?
All the server are windows2008.
0
Comment
Question by:sara2000
6 Comments
 
LVL 15

Expert Comment

by:cwstad2
ID: 39662892
0
 
LVL 23

Expert Comment

by:Thomas Grassi
ID: 39662901
I use this works great

http://windirstat.info/
0
 
LVL 35

Expert Comment

by:Joseph Daly
ID: 39662904
Definitely windirstat for this. Great tool the visual display makes it really easy to resolve space issues.
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Author Comment

by:sara2000
ID: 39663570
I want to get disk info for 30 servrs at once. I am not sure windirstat does this?
0
 
LVL 23

Expert Comment

by:Thomas Grassi
ID: 39663654
get this  

http://technet.microsoft.com/en-us/sysinternals/bb896649.aspx

Install pstools on your computer/server

du is  Directory Disk Usage Report

Create a script  

@ECHO Off
c:\pstools\psservice \\server1 -u server1\administrator -p secret du (commands) >>c:\diskusage.txt
server2
etc

Exit

Du v1.4 - report directory disk usage
Copyright (C) 2005-2011 Mark Russinovich
Sysinternals - www.sysinternals.com

usage: du [-c] [-l <levels> | -n | -v] [-u] [-q] <directory>
   -c     Print output as CSV.
   -l     Specify subdirectory depth of information (default is all levels).
   -n     Do not recurse.
   -q     Quiet (no banner).
   -u     Count each instance of a hardlinked file.
   -v     Show size (in KB) of intermediate directories.


You can add each server in the script pipe the output to a file and then have a report

schedule it in task manager and run it on a regular basis

If you can email via batch then you can also email the report to you.
I use febooti command line smtp email works great

Need help with script let me know.
0
 
LVL 40

Accepted Solution

by:
Subsun earned 2000 total points
ID: 39670005
I can provide you a PowerShell script which report the disk usage.. Y can refer the following question for example.. The script in question gives the report in HTML format and if you need the report in different format then let me know I can modify it for you..

http://www.experts-exchange.com/Programming/Languages/Scripting/Powershell/Q_28012052.html
0

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

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

Log files are useful in diagnosing and repairing problems.  This is a list of common log files and their standard locations that I've compiled.   While this is not exhaustive, it is a pretty good list that I've found to be useful.  I may update it f…
This is a little timesaver I have been using for setting up Microsoft Small Business Server (SBS) in the simplest possible way. It may not be appropriate for every customer. However, when you get a situation where the person who owns the server is i…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

580 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