Platforms to show: All Mac Windows Linux Cross-Platform
Back to WindowsWMIMBS class.
WindowsWMIMBS.CancelAsyncCall as boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Windows | MBS Win Plugin | 12.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Lasterror is set.
WindowsWMIMBS.ConnectServer(NetworkResource as string, Username as string="", Password as string="", Locale as string="", Authority as string="") as boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Windows | MBS Win Plugin | 7.4 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Returns true on success and false on failure.
Authority parameter added in plugin version 12.2.
Some examples using this method:
- /Win/USB Stick to Drive Letter
- /Win/WMI/WMI File Events
- /Win/WMI/WMI HDD Info
- /Win/WMI/WMI Network Test
- /Win/WMI/WMI Process CPU usage
- /Win/WMI/WMI Process Creation Events via Remote
- /Win/WMI/WMI Query
- /Win/WMI/WMI Recent Windows Events
- /Win/WMI/WMI Recent Windows Events Web
- /Win/WMI/WMI Wireless LAN Signal Strength
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Windows | MBS Win Plugin | 12.2 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
WindowsWMIMBS.ExecNotificationQueryAsync(QueryLanguage as string, QueryText as string) as boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Windows | MBS Win Plugin | 12.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
The plugin receives events and enqueues them in a queue. You read objects from this queue in a timer and process them.
NextItem returns nil if the queue is empty.
Returns true on success and false on failure.
Lasterror is set. e.g. &h80041018 if you have syntax error in the query or &h80041058 if the query can't be parsed.
Some examples using this method:
WindowsWMIMBS.InitAuthentication(User as string, Domain as string, Password as string) as boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Windows | MBS Win Plugin | 12.2 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Call before ConnectServer.
This settings are passed to objects for authentication.
Some examples using this method:
WindowsWMIMBS.NextItem as boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Windows | MBS Win Plugin | 7.4 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
You need to call this at least once to move to the first item.
Returns false if no more items are there.
WindowsWMIMBS.Query(QueryLanguage as string, QueryText as string) as boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Windows | MBS Win Plugin | 7.4 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Returns true on success and false on failure.
The items on this page are in the following plugins: MBS Win Plugin.