25 Oct 2021 10:09 PM - last edited on 25 Oct 2021 10:57 PM by AntonioSousa
Hello,
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?
KR Henk
Solved! Go to Solution.
12 Nov 2021 10:02 PM
@henk_stobbe any luck with this?
15 Nov 2021 04:21 PM
Hello Chad,
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,
KR Henk