Monitoring disk space on mount points

Soldato
Joined
25 Nov 2004
Posts
3,792
Hi all

Anyone have any recommendations for monitoring disk space when those disks are mounted as folders? We use Site24x7 primarily and have tried various other tools but none handle mount points very well or at all!

They are all Windows server.

Thanks!
 
Soldato
OP
Joined
25 Nov 2004
Posts
3,792
Can you use WMI to check them? Assuming you would need to look at the Win32_Voume objects rather than Win32_LogicalDisk (which I guess your current tool is doing).

So in Powershell you could run something like:

Code:
Get-WmiObject Win32_Volume | Format-Table Name, Label, FreeSpace, Capacity
Great, thanks for that! So I have this:


Get-WmiObject Win32_Volume | Format-Table Name, Label, @{Name="Capacity";Expression={$_.capacity/1GB}}, @{Name="FreeSpace";Expression={$_.freespace/1GB}} -autosize

Do you know if I could get the FreeSpace showing as a %? I have the data... I assume it must be possible.
 
Back
Top Bottom