Solved

space usage on few servers

Posted on 2013-11-20
6
131 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

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 500 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

The password reset disk is often mentioned as the best solution to deal with the lost Windows password problem. In Windows 2008, 7, Vista and XP, a password reset disk can be easily created. But besides Windows 7/Vista/XP, Windows Server 2008 and ot…
When you upgrade from Windows 8 to 8.1 or to Windows 10 or if you are like me you are on the Insider Program you may find yourself with many 450MB recovery partitions.  With a traditional disk that may not be a problem but with relatively smaller SS…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
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…

627 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