Microsoft Operations Manager

SystemManager Object (Deprecated)

The SystemManagerobject gathers information about the computer. It also allows scripts to restart or shut down the computer or to log off a user. This object has been deprecated and should not be used when creating new scripts. It is included only to support existing scripts. For new scripts, see Using Operating System APIs in Scripts.

Methods

Name Description

ForceLogoff

Forces the current user to be logged out of Windows NT.

ForceReboot

Forces Windows NT to shut down and restart.

ForceShutdown

Forces Windows NT to shut down.

GetError

Gets the most recent error description for the SystemManagerobject.

LockWorkstation

Locks the workstation so that it is protected from unauthorized use.

RequestLogoff

Sends a request to the system to log off the currently logged on user.

RequestReboot

Sends a request to reboot the local computer.

RequestShutdown

Sends a request to shut down the local computer.

Properties

Name Description

Domain

Gets a string containing the name of the domain or workgroup to which the computer belongs.

LoggedOnUsers

Gets the number of currently logged-on users.

OS

Gets a string identifying the operating system.

OSBuildNumber

Gets the operating system build number.

OSMajorVersion

Gets the operating system major version.

OSMinorVersion

Gets the operating system minor version.

PlatformId

Gets the operating system platform ID.

ServicePackInfo

Gets information about installed service packs.

Requirements

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.