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
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 8 |
| Minimum supported server | Windows Server 2012 |
| Namespace | Root\StandardCimv2 |
| MOF | WFasCim.mof |
| DLL | WFasCim.dll |
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors (upstream author metadata: windowssdkdev). Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
