# Extension 2.0 WMI limited by defined definitions

**URL:** <https://community.dynatrace.com/t/extension-2-0-wmi-limited-by-defined-definitions/33088>\
**Category:** Extensions\
**Tags:** extensions\
**Created:** [October 25, 2021, 9:09pm UTC](https://community.dynatrace.com/t/extension-2-0-wmi-limited-by-defined-definitions/33088 "2021-10-25T21:09:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![henk\_stobbe](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/henk_stobbe/32/30434_2.png) [@henk\_stobbe](https://community.dynatrace.com/u/henk_stobbe)\
**Post date:** [October 25, 2021, 9:09pm UTC](https://community.dynatrace.com/t/extension-2-0-wmi-limited-by-defined-definitions/33088/1 "2021-10-25T21:09:02Z")

</div>

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:

 ![henk_stobbe_0-1635195950180.png](https://global.discourse-cdn.com/dynatrace/original/2X/0/092b63bbd944126a13aa4a67c983ee1056088b04.png)

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&nbsp;Win32\_xxxxxx definitions in a 2.0 extension?

KR Henk

---

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [November 12, 2021, 10:02pm UTC](https://community.dynatrace.com/t/extension-2-0-wmi-limited-by-defined-definitions/33088/2 "2021-11-12T22:02:15Z")

</div>

[@henk\_stobbe](https://community.dynatrace.com/user/11427)&nbsp;any luck with this?

---

<div class="post-metadata">

**Author:** ![henk\_stobbe](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/henk_stobbe/32/30434_2.png) [@henk\_stobbe](https://community.dynatrace.com/u/henk_stobbe)\
**Post date:** [November 15, 2021, 4:21pm UTC](https://community.dynatrace.com/t/extension-2-0-wmi-limited-by-defined-definitions/33088/3 "2021-11-15T16:21:38Z")

</div>

Hello Chad,

Yes this is resolved, there is no limitation. I just made a typo )-;

_Most extension-related classes and properties reside in the&nbsp;root\civm2&nbsp;namespace. To learn more about WMI namespaces and classes, see&nbsp;[Windows Management Instrumentation](https://docs.microsoft.com/en-us/windows/win32/wmisdk/wmi-start-page)&nbsp;in the Microsoft documentation._

Works like a charm,

KR Henk
