You can use PSINFO from sysinternals; it calculate the free space for you.http://www.sysinternals.com/Utilities/PsInfo.htmlThe PsTools zip file contains PSINFO and a lot more useful utilities http://www.sysinternals.com/Utilities/PsTools.htmlThe are very useful, because you can do stuff to remote systems, like start and stop services, reboot, execute commands, etc. I've used them for years, and never had a problem with them.The tools included in the PsTools suite: PsExec - execute processes remotely PsFile - shows files opened remotely PsGetSid - display the SID of a computer or a user PsKill - kill processes by name or process ID PsInfo - list information about a system PsList - list detailed information about processes PsLoggedOn - see who's logged on locally and via resource sharing (full source is included) PsLogList - dump event log records PsPasswd - changes account passwords PsService - view and control services PsShutdown - shuts down and optionally reboots a computer PsSuspend - suspends processes Get Disk Info with PsInfo:C:\SysInternals>psinfo -d filterPsInfo v1.73 - Local and remote system information viewerCopyright (C) 2001-2005 Mark RussinovichSysinternals - www.sysinternals.comSystem information for \\MYCOMPUTER:Volume Type Format Label Size Free Free A: Removable 0.0% C: Fixed NTFS 37.27 GB 22.66 GB 60.8% D: Removable 0.0% E: CD-ROM 0.0% F: CD-ROM 0.0%
Help for PSINFOC:\SysInternals>psinfo /?PsInfo v1.73 - Local and remote system information viewerCopyright (C) 2001-2005 Mark RussinovichSysinternals - www.sysinternals.comPsInfo returns information about a local or remote Windows NT/2000/XP system.Usage: psinfo [-h] [-s] [-d] [-c [-t delimiter]] [filter] [\\computer[,computer[,..]]|@file [-u Username [-p Password]]] -u Specifies optional user name for login to remote computer. -p Specifies password for user name. -h Show installed hotfixes. -s Show installed software. -d Show disk volume information. -c Print in CSV format -t The default delimiter for the -c option is a comma, but can be overriden with the specified character. Use "\t" to specify tab. filter Psinfo will only show data for the field matching the filter. e.g. "psinfo service" lists only the service pack field. computer Direct PsInfo to perform the command on the remote computer or computers specified. If you omit the computer name PsInfo runs the command on the local system, and if you specify a wildcard (\\*), PsInfo runs the command on all computers in the current domain. @file PsInfo will run against the computers listed in the file specified.
CODO ERGO SUM