If you have information, script, utility, or idea that can be useful for HostMonitor community, you welcome to share information in this forum.
-
KS-Soft
- Posts: 12869
- Joined: Wed Apr 03, 2002 6:00 pm
- Location: USA
-
Contact:
Post
by KS-Soft »
This method is using WMI as well.
You just need to check error message displayed by Windows script host (cscript).
BTW: We redesigned Disk Free Space test for next version of HostMonitor, it may check several (or all) drives on local or remote systems
Regards
Alex
-
chhm
- Posts: 7
- Joined: Tue Jun 05, 2012 8:47 am
Post
by chhm »
I found the following example using a WQL query to work pretty so far:
SELECT FreeSpace, Label from Win32_Volume Where Label = 'M_DB5'
I then alert if "any FreeSpace" "is < than"
-Corey