(imported topic written by SystemAdmin)
I am trying to create two separate relevance snippets that will give me:
-
The sum of total space on disk drives that do not have the Device ID 806e6f6e6963
-
The sum of free space on disk drives that do not have the Device ID 806e6f6e6963
I can get a boolean response for the device ID by using:
(it as lowercase does not contain
"806e6f6e6963") of (string values of selects (
"DeviceID from Win32_volume") of WMI)
I cannot however, seem to append it do anything resembling this:
sum of (free spaces of drives) /1024/1024
or
sum of (total spaces of drives) /1024/1024
In other words, I’d like it to go something like this:
sum of (free spaces of drives) /1024/1024 whose (it as lowercase does not contain
"806e6f6e6963") of (string values of selects (
"DeviceID from Win32_volume") of WMI)
Any help merging these snippets would be greatly appreciated.