Wednesday, September 24, 2008

Checking that pesky server’s available drive space via WMIC, Scripting and SrvInfo

TONYSO - Hyper-V How To: Check Free Disk Space

“VHD proliferation or other disk-bloat make it necessary for you to move something? Need to check free disk space on the remote server before you move? Here's a couple of ways to do it.

The WMI Command-line (WMIC) tool provides a simple command-line interface to WMI. …

Or you can use Srvinfo.exe: Remote Server Information - available in the Windows Server 2003 Resource Kit Tools, will give you something like this:

C:\>srvinfo \\servername

image_thumb

…”

SrvInfo… Wow, I learn something new every day. Check out this article, Use srvinfo to gather details about remote Windows Server 2003 servers, for a little more information on it (like command line args, etc)

1 comment:

Anonymous said...

srvinfo is very handy. One of the features I used was the uptime calculator. It goes back through Event log as far as it can and gives you a percentage uptime.