Forum Discussion
JaredM
2 years agoNeophyte
thanks Chris, this helped me fill in the gap. I’m using this in the WMI DS for WinVolumeUsage, and this datapoint is now polling as I need it to evaluate only the remaining free space on C: drives.
osDrive = property = instanceProps.get("auto.driveletter")
freeSpace_scale = (output["FREESPACE"].toFloat()/1024/1024/1024)
if(osDrive=="C:"){
return freeSpace_scale
}
Thanks again for the assistance!
Related Content
- 5 months ago
- 4 months ago
- 5 months ago