Share via


MSFT_Script Class

Note Note   

The MOM WMI classes has been deprecated and should not be used when creating new scripts. The WMI classes are included only to support existing scripts.

The MSFT_Script WMI class represents custom response scripts. MOM scripts represented by MSFT_Script objects must use the Custom language setting.

The MSFT_Script class is included to support the monitoring of non-Windows computers. The MSFT_Script class can store source code for scripts that are designed to run on non-Windows systems, such as a UNIX shell script. Your application will be responsible for transferring the source code to the non-Windows system and executing it in the appropriate run-time environment.

Properties

Name Description

Description

Gets the description for the script.

Guid

Gets the GUID identifying the script.

Name

Gets the name of the script.

Parameters

Gets an array of all valid parameters for the script.

Script

Gets the source code of the script.

Requirements

Platforms: Requires Windows 2000 Server or later

Version: Requires MOM 2000 SP1 or later

See Also

MOM WMI Classes | MSFT_ComputerGroup Class | MSFT_ScriptToComputerGroup Class | MSFT_ComputerGroup.Type Property | Working with Non-Windows Systems