You can use the methods of the
SWbemLocator object to obtain an
SWbemServices object that represents a connection to a namespace on either a local computer or a remote host computer. You can then use the methods of the
SWbemServices object to access WMI. This object can be created by the VBScript CreateObject call.
Methods
The SWbemLocator object defines the following method.
| Method | Description |
ConnectServer |
Connects to WMI on the specified computer.
|
Properties
The SWbemLocator object defines the following property.
| Property | Access type | Description |
Security_ | Read-only | Used to read or change the security settings.
|
Requirements
| Minimum supported client | Windows 2000 Professional |
| Minimum supported server | Windows 2000 Server |
| Type Library | Wbemdisp.tlb |
| DLL | Wbemdisp.dll |
See Also
- Scripting API Objects
Send comments about this topic to Microsoft
Build date: 11/3/2009