Monitoring Non-Logical Disk space
Howdy, folks!
There's plenty of scripts out there that monitor the free space of a Logical Disk on a Windows 2008 server. They all work great.
Unfortunately, I have a need to monitor the free space of a drive that has NOT been made into a logical drive. This is because Microsoft Data Protection Manager (DPM) uses a non-logical dynamic drive, and then creates volumes upon it. I can get
a report of the volumes (and their individual free space) but what I cannot find is a script that tells me how much free space is left on the underlying disk.
Help?
October 8th, 2012 4:31pm
The Official Scripting Guys Forum!
http://social.technet.microsoft.com/Forums/en-US/ITCG/threads
Thanks
Free Windows Admin Tool Kit Click here and download it now
October 8th, 2012 4:55pm
Doesn't seem to be a "straight forward" solution for this. You propably can try to get the disk size with Win32_DiskDrive Size (http://msdn.microsoft.com/en-us/library/windows/desktop/aa394132(v=vs.85).aspx
) and substract the Win32_Volume Capacities (http://msdn.microsoft.com/en-us/library/windows/desktop/aa394515(v=vs.85).aspx ), but if you cannot match the via the
volume Caption or something, it seems to be a hassle to match which volume is on the disk (http://social.technet.microsoft.com/Forums/en-US/ITCG/thread/19b363a3-db43-43a6-835e-6dedcaa1e6d8/
)
October 9th, 2012 7:06am


