DSM Support for WMI
Using WMI, Ivanti DSM can read all values (hardware or software) available on a system and make them available – thus, Ivanti DSM is also a management application. Ivanti DSM saves the values in variables.
eScript provides the following WMI commands:
- WMISimpleQuery and WMIGetIndexData provide the properties from system and software components.
- WMIGetInstanceCount provides the number of available system and software components of a certain class.
Examples of uses:
- Export all properties from the installed network cards on a computer. Without WMI, properties such as the DNS search order can only be found with a tedious process in the registry.
- Conditions in the eScript can be attached to a property to control the script execution.
- Check to see if a certain process is running on the system. If so, terminate the process. That allows uninstallation without restarting the computer.
- Determine the free disk space of all physical and logical drives on a computer.
Requirements for WMI Support
To use Ivanti DSM with WMI, you must have access to all WMI information:
- All name spaces
- All classes of a name space
- All instances of a class (depending upon the server)
- All computers
It must also be guaranteed that during access there are sufficient rights to execute the operations on the system that require administrator privileges.