Name - property in ROOT\RSOP\Computer namespace

Name in other namespaces

List of classes with Name local property in ROOT\RSOP\Computer namespace

propertyClassOrigin
Name__EventFilter__EventFilter
Name__NAMESPACE__NAMESPACE
Name__NTLMUser9X__NTLMUser9X
Name__Provider__Provider
Name__Trustee__Trustee
NameRSOP_AdministrativeTemplateFileRSOP_AdministrativeTemplateFile
NameRSOP_ApplicationManagementCategoryRSOP_ApplicationManagementCategory
NameRSOP_GPORSOP_GPO
NameRSOP_IEAdministrativeTemplateFileRSOP_IEAdministrativeTemplateFile
NameRSOP_IEFavoriteOrLinkItemRSOP_IEFavoriteOrLinkItem
NameRSOP_PolicySettingRSOP_PolicySetting

List of classes with Name derived property in ROOT\RSOP\Computer namespace

propertyClassOrigin
Name__Win32Provider__Provider
NameRSOP_ApplicationManagementPolicySettingRSOP_PolicySetting
NameRSOP_AuditPolicyRSOP_PolicySetting
NameRSOP_CentralAccessPolicySettingRSOP_PolicySetting
NameRSOP_FileRSOP_PolicySetting
NameRSOP_FolderRedirectionPolicySettingRSOP_PolicySetting
NameRSOP_GlobalSaclSettingRSOP_PolicySetting
NameRSOP_IEAKPolicySettingRSOP_PolicySetting
NameRSOP_IEEE80211GroupPolicySettingRSOP_PolicySetting
NameRSOP_IEEE80211PolicySettingRSOP_PolicySetting
NameRSOP_IEEE8023GroupPolicySettingRSOP_PolicySetting
NameRSOP_IEFavoriteItemRSOP_IEFavoriteOrLinkItem
NameRSOP_IELinkItemRSOP_IEFavoriteOrLinkItem
NameRSOP_IERegistryPolicySettingRSOP_PolicySetting
NameRSOP_IPSECPolicySettingRSOP_PolicySetting
NameRSOP_PolmkrDataSourceSettingRSOP_PolicySetting
NameRSOP_PolmkrDeviceSettingRSOP_PolicySetting
NameRSOP_PolmkrDialupOptionSettingRSOP_PolicySetting
NameRSOP_PolmkrEnvironmentSettingRSOP_PolicySetting
NameRSOP_PolmkrFileSettingRSOP_PolicySetting
NameRSOP_PolmkrFileTypesSettingRSOP_PolicySetting
NameRSOP_PolmkrFolderOptionSettingRSOP_PolicySetting
NameRSOP_PolmkrFolderOptionSettingVistaRSOP_PolicySetting
NameRSOP_PolmkrFolderSettingRSOP_PolicySetting
NameRSOP_PolmkrImmediateTaskSettingRSOP_PolicySetting
NameRSOP_PolmkrImmediateTaskV2SettingRSOP_PolicySetting
NameRSOP_PolmkrIniFileSettingRSOP_PolicySetting
NameRSOP_PolmkrLocalGroupsSettingRSOP_PolicySetting
NameRSOP_PolmkrLocalPrinterSettingRSOP_PolicySetting
NameRSOP_PolmkrLocalUsersAndGroupsSettingRSOP_PolicySetting
NameRSOP_PolmkrLocalUsersSettingRSOP_PolicySetting
NameRSOP_PolmkrNetShareSettingRSOP_PolicySetting
NameRSOP_PolmkrNetworkOptionSettingRSOP_PolicySetting
NameRSOP_PolmkrNtServiceSettingRSOP_PolicySetting
NameRSOP_PolmkrPortPrinterSettingRSOP_PolicySetting
NameRSOP_PolmkrPowerOptionsSettingRSOP_PolicySetting
NameRSOP_PolmkrPowerOptionsV2SettingRSOP_PolicySetting
NameRSOP_PolmkrPowerSchemeSettingRSOP_PolicySetting
NameRSOP_PolmkrPowerSettingRSOP_PolicySetting
NameRSOP_PolmkrPrinterSettingRSOP_PolicySetting
NameRSOP_PolmkrProSettingRSOP_PolicySetting
NameRSOP_PolmkrRegionOptionSettingRSOP_PolicySetting
NameRSOP_PolmkrRegistrySettingRSOP_PolicySetting
NameRSOP_PolmkrSchedTaskSettingRSOP_PolicySetting
NameRSOP_PolmkrSchedTaskV2SettingRSOP_PolicySetting
NameRSOP_PolmkrServerSettingRSOP_PolicySetting
NameRSOP_PolmkrSettingRSOP_PolicySetting
NameRSOP_PolmkrShortcutSettingRSOP_PolicySetting
NameRSOP_PolmkrStartMenuSettingRSOP_PolicySetting
NameRSOP_PolmkrStartMenuSettingVistaRSOP_PolicySetting
NameRSOP_PolmkrTaskSettingRSOP_PolicySetting
NameRSOP_PushPrinterConnectionsPolicySettingRSOP_PolicySetting
NameRSOP_RegistryKeyRSOP_PolicySetting
NameRSOP_RegistryPolicySettingRSOP_PolicySetting
NameRSOP_RegistryValueRSOP_PolicySetting
NameRSOP_RestrictedGroupRSOP_PolicySetting
NameRSOP_RestrictedGroupExRSOP_PolicySetting
NameRSOP_ScriptPolicySettingRSOP_PolicySetting
NameRSOP_SecurityEventLogSettingBooleanRSOP_PolicySetting
NameRSOP_SecurityEventLogSettingNumericRSOP_PolicySetting
NameRSOP_SecuritySettingBooleanRSOP_PolicySetting
NameRSOP_SecuritySettingNumericRSOP_PolicySetting
NameRSOP_SecuritySettingsRSOP_PolicySetting
NameRSOP_SecuritySettingStringRSOP_PolicySetting
NameRSOP_SubcategorySystemAuditSettingRSOP_PolicySetting
NameRSOP_SystemServiceRSOP_PolicySetting
NameRSOP_UserPrivilegeRightRSOP_PolicySetting

Code samples for Name property

Get instance of WMI class using GetObject, Name property of RSOP_UserPrivilegeRight

Short VBS code - get a single specified instance of RSOP_UserPrivilegeRight 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\Computer:" + _
 "RSOP_UserPrivilegeRight.precedence=1,UserRight=""SeMachineAccountPrivilege""")
Wscript.Echo wmiObject.Name 'or other property name, see properties
See more VBS samples of RSOP_UserPrivilegeRight class

WMI query - sample windows WQL with C#, Name property of RSOP_UserPrivilegeRight

Get a specified instance of RSOP_UserPrivilegeRight 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\\Computer");

//create object query
ObjectQuery query = new ObjectQuery("SELECT * FROM RSOP_UserPrivilegeRight Where precedence=\"1\"UserRight=\"SeMachineAccountPrivilege\"");

//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("Name : {0}", m["Name"]);
  
}

WMI query - sample windows WQL with VB.Net, Name property of RSOP_UserPrivilegeRight

Get a specified instance of RSOP_UserPrivilegeRight 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\Computer")

'Get a result of WML query 
Dim Query As New ObjectQuery("SELECT * FROM RSOP_UserPrivilegeRight Where precedence="1"UserRight="SeMachineAccountPrivilege"")

'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("Name : {0}", mObject("Name"))
Next
comments powered by Disqus
WUtils.com