I tried to create custom wmi counter with using your wmitester utility. The query is
SELECT RecoverPercentage FROM Win32_PerfFormattedData_DcsHa_DataCoreMirroring WHERE Name='_Total'
With the wmitester I receive a positive result. So I created a wql file with the syntax as above and created a sensor. When I start the sensor I receive an error:
80041017: The query was not syntactically valid.
After several tries accidently a similar sensor suddenly worked. Any ideas?
Regards, Christian Harmeling