Microsoft Operations Manager |
The RequestShutdownmethod sends a request to shut down the local computer.
[VBScript]
SystemManager.RequestShutdown()
Long
The following example shows how to send a request to shut down the local computer.
[VBScript]
Dim objSystemManager, blnOK
Set objSystemManager = CreateObject("OpScrUtil.SystemManager")
blnOK = objSystemManager.RequestShutdown()
Set objSystemManager = Nothing
Windows NT/2000: Requires Windows 2000 or later
Version: Requires MOM 1.0 SP1
Did you find this information useful? Please send your suggestions and comments about the documentation to momsdk@microsoft.com.