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:

  1. 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.

    ReplyDelete

NOTE: Anonymous Commenting has been turned off for a while... The comment spammers are just killing me...

ALL comments are moderated. I will review every comment before it will appear on the blog.

Your comment WILL NOT APPEAR UNTIL I approve it. This may take some hours...

I reserve, and will use, the right to not approve ANY comment for ANY reason. I will not usually, but if it's off topic, spam (or even close to spam-like), inflammatory, mean, etc, etc, well... then...

Please see my comment policy for more information if you are interested.

Thanks,
Greg

PS. I am proactively moderating comments. Your comment WILL NOT APPEAR UNTIL I approve it. This may take some hours...