I'm interested in gathering Win32_Battery class data from User machines.
It works well if I provide root/cimv2
rights to the account which is used to send a Get-WmiObject
query. But I'd like to tighten it a bit, I don't want to be able to collect any other information besides Win32_Battery class
metrics.
Is it possible to prohibit everything except certain class (Win32_Battery) or maybe superclass (CIM_Battery)?