MSFT_NetGPO class

This class does not have any instances. It is used to manage locally-cached Group Policy Objects.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

class MSFT_NetGPO : CIM_SettingData
{
  string InstanceID;
  string Caption;
  string Description;
  string ElementName;
};

Members

The MSFT_NetGPO class has these types of members:

Methods

The MSFT_NetGPO class has these methods.

Method Description
Open Read a GPO, and cache results locally
Save Write the local cached GPO info back to AD

Properties

The MSFT_NetGPO class has these properties.

Caption

Data type: string

Access type: Read-only

Used in CimInstance.ToString(). A short string for describing this instance when debugging.

Description

Data type: string

Access type: Read-only

This field is ignored.

ElementName

Data type: string

Access type: Read-only

This field is ignored.

InstanceID

Data type: string

Access type: Read-only

A string that uniquely identifies this instance within the PolicyStore.

Requirements

Minimum supported client
Windows 8
Minimum supported server
Windows Server 2012
Namespace
Root\StandardCimv2
MOF
WFasCim.mof
DLL
WFasCim.dll