Microsoft Operations Manager |
The ForceRebootmethod forces Windows NT to shut down and restart.
[VBScript] SystemManager.ForceReboot()
None
Boolean
The following example shows how to force Windows NT to shut down and restart.
[VBScript]
Dim objSystemManager, blnOK
Set objSystemManager = CreateObject("OpScrUtil.SystemManager")
blnOK = objSystemManager.ForceReboot()
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.