Extension 2.0 WMI limited by defined definitions

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

@henk_stobbe any luck with this?

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