Microsoft Operations Manager

Alternatives to the SCManager Object

For new scripts, use the following methods and properties of the Win32_ProcessWMI class to achieve equivalent results.

Deprecated members Equivalents
SCManager.ContinueService ResumeServicemethod of the Win32_ProcessWMI class
SCManager.GetServiceStatus Statusproperty of the Win32_ProcessWMI class
SCManager.PauseService PauseServicemethod of the Win32_ProcessWMI class
SCManager.StartService StartServicemethod of the Win32_ProcessWMI class
SCManager.StopService StopServicemethod of the Win32_ProcessWMI class

For more information about the Win32_ProcessWMI class, see the Windows Management Instrumentation SDK.


Did you find this information useful? Please send your suggestions and comments about the documentation to momsdk@microsoft.com.