WMIQuery.New
------------

Creates a new WMI Query object.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [WMIQuery](component_WMIQuery.md) | [5.2](newinversion52.md) | ❌ No | ✅ Yes | ❌ No | ✅ Yes, on Windows | ❌ No |

MBS( "WMIQuery.New" ) ### Parameters

none

### Result

Returns reference number or error.

### Description

Creates a new WMI Query object.  
### See also

- [WMIQuery.Connect](WMIQueryConnect.md)
- [WMIQuery.JSON](WMIQueryJSON.md)
- [WMIQuery.Next](WMIQueryNext.md)
- [WMIQuery.PropertyNames](WMIQueryPropertyNames.md)
- [WMIQuery.PropertyType](WMIQueryPropertyType.md)
- [WMIQuery.PropertyValue](WMIQueryPropertyValue.md)
- [WMIQuery.Query](WMIQueryQuery.md)
- [WMIQuery.Release](WMIQueryRelease.md)

### Example Databases

- [Win Only/WMI Query](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Win%20Only/WMI%20Query.shtml#2ScriptAnchor_)

This function checks for a license.

Created 22nd June 2015 , last changed 22nd June 2015

  
[WMIQuery.JSON](WMIQueryJSON.md) - [WMIQuery.Next](WMIQueryNext.md)

[HTML Version](WMIQueryNew.shtml)