Share via


MSFT_ComputerGroup 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_ComputerGroup WMI class represents the computer groups used to manage and logically organize the computers represented by the MSFT_Computer class.

To get a collection containing the MSFT_Computer objects belonging to a computer group, you must rely on the MSFT_ComputerToComputerGroup association class. For information about getting the computers in the group, see MSFT_ComputerToComputerGroup.Computer Property.

The MSFT_ComputerGroup class supports the following WMI methods.

Method Supported? Comment
GetObjectAsync_ Yes None.
PutInstanceAsync_ Yes New objects can be created and saved. Only objects created through WMI can be modified and updated.
DeleteInstanceAsync_ Yes Only objects originally added using WMI can be deleted.
ExecQueryAsync_ Yes WQL queries that use the ORDER BY qualifier are accepted.
ExecMethodAsync_ No None.

Properties

Name Description

Description

Gets or sets the description for the computer group.

GUID

Gets the GUID that identifies the computer group.

IsEnabled

Gets or sets whether the computer group is enabled.

Name

Gets or sets the name of the computer group.

Type

Gets or sets the type of the computers in this computer group.

Requirements

Platforms: Requires Windows 2000 Server or later

Version: Requires MOM 2000 SP1 or later

See Also

MOM WMI Classes | MSFT_Computer Class | MSFT_ComputerToComputerGroup Class