GPOID - property in ROOT\RSOP\User\S_1_5_21_4251975986_251742880_3643873951_1002 namespace

GPOID in other namespaces

List of classes with GPOID local property in ROOT\RSOP\User\S_1_5_21_4251975986_251742880_3643873951_1002 namespace

propertyClassOrigin
GPOIDRSOP_AdministrativeTemplateFileRSOP_AdministrativeTemplateFile
GPOIDRSOP_IEAdministrativeTemplateFileRSOP_IEAdministrativeTemplateFile
GPOIDRSOP_PolicySettingRSOP_PolicySetting

List of classes with GPOID derived property in ROOT\RSOP\User\S_1_5_21_4251975986_251742880_3643873951_1002 namespace

propertyClassOrigin
GPOIDRSOP_ApplicationManagementPolicySettingRSOP_PolicySetting
GPOIDRSOP_FolderRedirectionPolicySettingRSOP_PolicySetting
GPOIDRSOP_IEAKPolicySettingRSOP_PolicySetting
GPOIDRSOP_IEEE80211GroupPolicySettingRSOP_PolicySetting
GPOIDRSOP_IEEE80211PolicySettingRSOP_PolicySetting
GPOIDRSOP_IEEE8023GroupPolicySettingRSOP_PolicySetting
GPOIDRSOP_IERegistryPolicySettingRSOP_PolicySetting
GPOIDRSOP_IPSECPolicySettingRSOP_PolicySetting
GPOIDRSOP_PolmkrApplicationSettingRSOP_PolicySetting
GPOIDRSOP_PolmkrDataSourceSettingRSOP_PolicySetting
GPOIDRSOP_PolmkrDeviceSettingRSOP_PolicySetting
GPOIDRSOP_PolmkrDialupOptionSettingRSOP_PolicySetting
GPOIDRSOP_PolmkrDriveSettingRSOP_PolicySetting
GPOIDRSOP_PolmkrEnvironmentSettingRSOP_PolicySetting
GPOIDRSOP_PolmkrFileSettingRSOP_PolicySetting
GPOIDRSOP_PolmkrFolderOptionSettingRSOP_PolicySetting
GPOIDRSOP_PolmkrFolderOptionSettingVistaRSOP_PolicySetting
GPOIDRSOP_PolmkrFolderOptionsSettingRSOP_PolicySetting
GPOIDRSOP_PolmkrFolderSettingRSOP_PolicySetting
GPOIDRSOP_PolmkrIE7SettingRSOP_PolicySetting
GPOIDRSOP_PolmkrImmediateTaskSettingRSOP_PolicySetting
GPOIDRSOP_PolmkrImmediateTaskV2SettingRSOP_PolicySetting
GPOIDRSOP_PolmkrIniFileSettingRSOP_PolicySetting
GPOIDRSOP_PolmkrInternetSettingRSOP_PolicySetting
GPOIDRSOP_PolmkrLocalGroupsSettingRSOP_PolicySetting
GPOIDRSOP_PolmkrLocalPrinterSettingRSOP_PolicySetting
GPOIDRSOP_PolmkrLocalUsersAndGroupsSettingRSOP_PolicySetting
GPOIDRSOP_PolmkrLocalUsersSettingRSOP_PolicySetting
GPOIDRSOP_PolmkrNetworkOptionSettingRSOP_PolicySetting
GPOIDRSOP_PolmkrNtServiceSettingRSOP_PolicySetting
GPOIDRSOP_PolmkrOpenWithSettingRSOP_PolicySetting
GPOIDRSOP_PolmkrPortPrinterSettingRSOP_PolicySetting
GPOIDRSOP_PolmkrPowerOptionsSettingRSOP_PolicySetting
GPOIDRSOP_PolmkrPowerOptionsV2SettingRSOP_PolicySetting
GPOIDRSOP_PolmkrPowerSchemeSettingRSOP_PolicySetting
GPOIDRSOP_PolmkrPowerSettingRSOP_PolicySetting
GPOIDRSOP_PolmkrPrinterSettingRSOP_PolicySetting
GPOIDRSOP_PolmkrProfileSettingRSOP_PolicySetting
GPOIDRSOP_PolmkrProSettingRSOP_PolicySetting
GPOIDRSOP_PolmkrRegionOptionSettingRSOP_PolicySetting
GPOIDRSOP_PolmkrRegistrySettingRSOP_PolicySetting
GPOIDRSOP_PolmkrSchedTaskSettingRSOP_PolicySetting
GPOIDRSOP_PolmkrSchedTaskV2SettingRSOP_PolicySetting
GPOIDRSOP_PolmkrServerSettingRSOP_PolicySetting
GPOIDRSOP_PolmkrSettingRSOP_PolicySetting
GPOIDRSOP_PolmkrSharedPrinterSettingRSOP_PolicySetting
GPOIDRSOP_PolmkrShortcutSettingRSOP_PolicySetting
GPOIDRSOP_PolmkrStartMenuSettingRSOP_PolicySetting
GPOIDRSOP_PolmkrStartMenuSettingVistaRSOP_PolicySetting
GPOIDRSOP_PolmkrTaskSettingRSOP_PolicySetting
GPOIDRSOP_PushPrinterConnectionsPolicySettingRSOP_PolicySetting
GPOIDRSOP_RegistryPolicySettingRSOP_PolicySetting
GPOIDRSOP_ScriptPolicySettingRSOP_PolicySetting

Code samples for GPOID property

Get instance of WMI class using GetObject, GPOID property of RSOP_PolmkrDeviceSetting

Short VBS code - get a single specified instance of RSOP_PolmkrDeviceSetting class or get a default unnamed instance (singleton) of the class, using one single command GetObject with exact path of the wmi object.

'https://wutils.com/wmi/
Dim wmiObject
Set wmiObject = GetObject( _
 "WINMGMTS:\\.\ROOT\RSOP\User\S_1_5_21_4251975986_251742880_3643873951_1002:" + _
 "RSOP_PolmkrDeviceSetting.id=""Value"",precedence=Value")
Wscript.Echo wmiObject.GPOID 'or other property name, see properties
See more VBS samples of RSOP_PolmkrDeviceSetting class

WMI query - sample windows WQL with C#, GPOID property of RSOP_PolmkrDeviceSetting

Get a specified instance of RSOP_PolmkrDeviceSetting by a key, get a default unnamed instance (singleton) of the class or list instances of the class by wmi query using this c# sample code.
See in another language: VBScript, VB.Net.
//https://wutils.com/wmi/

//Project -> Add reference -> System.Management
//using System.Management;

//create a management scope object
ManagementScope scope = new ManagementScope("\\\\.\\ROOT\\RSOP\\User\\S_1_5_21_4251975986_251742880_3643873951_1002");

//create object query
ObjectQuery query = new ObjectQuery("SELECT * FROM RSOP_PolmkrDeviceSetting");

//create object searcher
ManagementObjectSearcher searcher =
                        new ManagementObjectSearcher(scope, query);

//get a collection of WMI objects
ManagementObjectCollection queryCollection = searcher.Get();

//enumerate the collection.
foreach (ManagementObject m in queryCollection) 
{
  // access properties of the WMI object
  Console.WriteLine("GPOID : {0}", m["GPOID"]);
  
}

WMI query - sample windows WQL with VB.Net, GPOID property of RSOP_PolmkrDeviceSetting

Get a specified instance of RSOP_PolmkrDeviceSetting by a key, get a default unnamed instance (singleton) of the class or list instances of the class by wmi query using this VB.Net sample code.
See in another language: VBScript, C#
'Project -> Add reference -> System.Management
'Imports System.Management

'Get the namespace management scope
Dim Scope As New ManagementScope("\\.\ROOT\RSOP\User\S_1_5_21_4251975986_251742880_3643873951_1002")

'Get a result of WML query 
Dim Query As New ObjectQuery("SELECT * FROM RSOP_PolmkrDeviceSetting")

'Create object searcher
Dim Searcher As New ManagementObjectSearcher(Scope, Query)

'Get a collection of WMI objects
Dim queryCollection As ManagementObjectCollection = Searcher.Get

'Enumerate wmi object 
For Each mObject As ManagementObject In queryCollection
  'write out some property value
  Console.WriteLine("GPOID : {0}", mObject("GPOID"))
Next
comments powered by Disqus
WUtils.com