discovery.wmiQuery(target, query, namespace)
Performs a WMI query on a Windows computer. Returns a list of
target– the endpoint being scanned. In this case, a Windows computer.
query– the WMI query performed on the target
namespace– the WMI namespace to query, for example,
root/cimv2. Used with the
class_name to identify objects of interest.
The following sample code from the
Adobe.AcrobatElementsServer pattern module shows the usage of the function: