Share via


MSFT_ScriptToComputerGroup Class

The MSFT_ScriptToComputerGroup association class relates a MOM custom script with a non-Windows computer group. The custom script must be part of a timed event rule, which in turn belongs to a rule group that is associated with a non-Windows computer group. Because rule groups are not exposed through the MOM WMI classes, the MSFT_ScriptToComputerGroup association class is used to relate scripts to computer groups. Rules and scripts that are shared by more than one non-Windows computer group are not supported through WMI.

The association class provides support for WQL queries that use the ASSOCIATORS OF syntax with MSFT_Script and MSFT_ComputerGroup objects. Instances of this association class are also used to set schedule information for the timed event rules that use the script.

Properties

Name Description

Group

Gets the MSFT_ComputerGroup object associated with the script.

Guid

Gets the GUID that identifies the object.

Interval

Gets the execution frequency, measured in seconds, for rules that use one of the Timed Event providers.

ParameterValues

Gets an array of all valid values for the script's parameters.

Schedule

Gets an array of values for the rule's schedule information.

Script

Gets the MSFT_Script object associated with the MSFT_ComputerGroup object.

Requirements

Platforms: Requires Windows 2000 Server or later

Version: Requires MOM 2000 SP1 or later

See Also

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