25 Oct 2021 02:09 PM - last edited on 25 Oct 2021 02:57 PM by AntonioSousa
I am trying to create a 2.0 WMI extension and I notice that the FROM part in the used query has limitations.
When using a statement like:
query: SELECT Aaa, Bbb, Ccc FROM Win32_xxxxxx the plugin is refused:
Get-WmiObject -query "Select Aaa, Bbb. Ccc FROM Win32_xxxxx" works perfect!
Is there a way to extend the root\comv2 definitions? Or am I limited by what is defined there?
Or in other words how to add Win32_xxxxxx definitions in a 2.0 extension?
Solved! Go to Solution.
Yes this is resolved, there is no limitation. I just made a typo )-;
Most extension-related classes and properties reside in the root\civm2 namespace. To learn more about WMI namespaces and classes, see Windows Management Instrumentation in the Microsoft documentation.
Works like a charm,