DS_revision - property in ROOT\directory\LDAP namespace

DS_revision in other namespaces

List of classes with DS_revision local property in ROOT\directory\LDAP namespace

propertyClassOrigin
DS_revisionds_topds_top

List of classes with DS_revision derived property in ROOT\directory\LDAP namespace

propertyClassOrigin
DS_revisionads_accountds_top
DS_revisionads_acspolicyds_top
DS_revisionads_acsresourcelimitsds_top
DS_revisionads_acssubnetds_top
DS_revisionads_addressbookcontainerds_top
DS_revisionads_addresstemplateds_top
DS_revisionads_applicationentityds_top
DS_revisionads_applicationprocessds_top
DS_revisionads_applicationversionds_top
DS_revisionads_attributeschemads_top
DS_revisionads_builtindomainds_top
DS_revisionads_categoryregistrationds_top
DS_revisionads_certificationauthorityds_top
DS_revisionads_classregistrationds_top
DS_revisionads_classschemads_top
DS_revisionads_classstoreds_top
DS_revisionads_comconnectionpointds_top
DS_revisionads_computerds_top
DS_revisionads_configurationds_top
DS_revisionads_contactds_top
DS_revisionads_containerds_top
DS_revisionads_controlaccessrightds_top
DS_revisionads_countryds_top
DS_revisionads_crldistributionpointds_top
DS_revisionads_crossrefds_top
DS_revisionads_crossrefcontainerds_top
DS_revisionads_deviceds_top
DS_revisionads_dfsconfigurationds_top
DS_revisionads_dhcpclassds_top
DS_revisionads_displayspecifierds_top
DS_revisionads_displaytemplateds_top
DS_revisionads_dmdds_top
DS_revisionads_dnsnodeds_top
DS_revisionads_dnszoneds_top
DS_revisionads_documentds_top
DS_revisionads_documentseriesds_top
DS_revisionads_domaindnsds_top
DS_revisionads_domainpolicyds_top
DS_revisionads_dsads_top
DS_revisionads_dsuisettingsds_top
DS_revisionads_filelinktrackingds_top
DS_revisionads_filelinktrackingentryds_top
DS_revisionads_foreignsecurityprincipalds_top
DS_revisionads_friendlycountryds_top
DS_revisionads_ftdfsds_top
DS_revisionads_groupds_top
DS_revisionads_groupofnamesds_top
DS_revisionads_groupofuniquenamesds_top
DS_revisionads_grouppolicycontainerds_top
DS_revisionads_indexservercatalogds_top
DS_revisionads_inetorgpersonds_top
DS_revisionads_infrastructureupdateds_top
DS_revisionads_intellimirrorgroupds_top
DS_revisionads_intellimirrorscpds_top
DS_revisionads_intersitetransportds_top
DS_revisionads_intersitetransportcontainerds_top
DS_revisionads_ipnetworkds_top
DS_revisionads_ipprotocolds_top
DS_revisionads_ipsecfilterds_top
DS_revisionads_ipsecisakmppolicyds_top
DS_revisionads_ipsecnegotiationpolicyds_top
DS_revisionads_ipsecnfads_top
DS_revisionads_ipsecpolicyds_top
DS_revisionads_ipserviceds_top
DS_revisionads_licensingsitesettingsds_top
DS_revisionads_linktrackobjectmovetableds_top
DS_revisionads_linktrackomtentryds_top
DS_revisionads_linktrackvolentryds_top
DS_revisionads_linktrackvolumetableds_top
DS_revisionads_localityds_top
DS_revisionads_lostandfoundds_top
DS_revisionads_meetingds_top
DS_revisionads_ms_net_ieee_80211_grouppolicyds_top
DS_revisionads_ms_net_ieee_8023_grouppolicyds_top
DS_revisionads_ms_sql_olapcubeds_top
DS_revisionads_ms_sql_olapdatabaseds_top
DS_revisionads_ms_sql_olapserverds_top
DS_revisionads_ms_sql_sqldatabaseds_top
DS_revisionads_ms_sql_sqlpublicationds_top
DS_revisionads_ms_sql_sqlrepositoryds_top
DS_revisionads_ms_sql_sqlserverds_top
DS_revisionads_msauthz_centralaccesspoliciesds_top
DS_revisionads_msauthz_centralaccesspolicyds_top
DS_revisionads_msauthz_centralaccessruleds_top
DS_revisionads_msauthz_centralaccessrulesds_top
DS_revisionads_mscom_partitionds_top
DS_revisionads_mscom_partitionsetds_top
DS_revisionads_msdfs_deletedlinkv2ds_top
DS_revisionads_msdfs_linkv2ds_top
DS_revisionads_msdfs_namespaceanchords_top
DS_revisionads_msdfs_namespacev2ds_top
DS_revisionads_msdfsr_connectionds_top
DS_revisionads_msdfsr_contentds_top
DS_revisionads_msdfsr_contentsetds_top
DS_revisionads_msdfsr_globalsettingsds_top
DS_revisionads_msdfsr_localsettingsds_top
DS_revisionads_msdfsr_memberds_top
DS_revisionads_msdfsr_replicationgroupds_top
DS_revisionads_msdfsr_subscriberds_top
DS_revisionads_msdfsr_subscriptionds_top
DS_revisionads_msdfsr_topologyds_top
DS_revisionads_msdns_serversettingsds_top
DS_revisionads_msds_app_configurationds_top
DS_revisionads_msds_appdatads_top
DS_revisionads_msds_authnpoliciesds_top
DS_revisionads_msds_authnpolicyds_top
DS_revisionads_msds_authnpolicysilods_top
DS_revisionads_msds_authnpolicysilosds_top
DS_revisionads_msds_azadminmanagerds_top
DS_revisionads_msds_azapplicationds_top
DS_revisionads_msds_azoperationds_top
DS_revisionads_msds_azroleds_top
DS_revisionads_msds_azscopeds_top
DS_revisionads_msds_aztaskds_top
DS_revisionads_msds_claimstransformationpoliciesds_top
DS_revisionads_msds_claimstransformationpolicytypeds_top
DS_revisionads_msds_claimtypeds_top
DS_revisionads_msds_claimtypesds_top
DS_revisionads_msds_deviceds_top
DS_revisionads_msds_devicecontainerds_top
DS_revisionads_msds_deviceregistrationserviceds_top
DS_revisionads_msds_deviceregistrationservicecontainerds_top
DS_revisionads_msds_groupmanagedserviceaccountds_top
DS_revisionads_msds_managedserviceaccountds_top
DS_revisionads_msds_optionalfeatureds_top
DS_revisionads_msds_passwordsettingsds_top
DS_revisionads_msds_passwordsettingscontainerds_top
DS_revisionads_msds_quotacontainerds_top
DS_revisionads_msds_quotacontrolds_top
DS_revisionads_msds_resourcepropertiesds_top
DS_revisionads_msds_resourcepropertyds_top
DS_revisionads_msds_resourcepropertylistds_top
DS_revisionads_msds_valuetypeds_top
DS_revisionads_msexchconfigurationcontainerds_top
DS_revisionads_msfve_recoveryinformationds_top
DS_revisionads_msieee80211_policyds_top
DS_revisionads_msimaging_postscanprocessds_top
DS_revisionads_msimaging_pspsds_top
DS_revisionads_mskds_provrootkeyds_top
DS_revisionads_mskds_provserverconfigurationds_top
DS_revisionads_msmq_custom_recipientds_top
DS_revisionads_msmq_groupds_top
DS_revisionads_msmqconfigurationds_top
DS_revisionads_msmqenterprisesettingsds_top
DS_revisionads_msmqmigrateduserds_top
DS_revisionads_msmqqueueds_top
DS_revisionads_msmqsettingsds_top
DS_revisionads_msmqsitelinkds_top
DS_revisionads_mspki_enterprise_oidds_top
DS_revisionads_mspki_key_recovery_agentds_top
DS_revisionads_mspki_privatekeyrecoveryagentds_top
DS_revisionads_msprint_connectionpolicyds_top
DS_revisionads_mssfu30domaininfods_top
DS_revisionads_mssfu30mailaliasesds_top
DS_revisionads_mssfu30netidds_top
DS_revisionads_mssfu30networkuserds_top
DS_revisionads_mssfu30nismapconfigds_top
DS_revisionads_msspp_activationobjectds_top
DS_revisionads_msspp_activationobjectscontainerds_top
DS_revisionads_mstapi_rtconferenceds_top
DS_revisionads_mstapi_rtpersonds_top
DS_revisionads_mstpm_informationobjectds_top
DS_revisionads_mstpm_informationobjectscontainerds_top
DS_revisionads_mswmi_intrangeparamds_top
DS_revisionads_mswmi_intsetparamds_top
DS_revisionads_mswmi_mergeablepolicytemplateds_top
DS_revisionads_mswmi_objectencodingds_top
DS_revisionads_mswmi_policytemplateds_top
DS_revisionads_mswmi_policytypeds_top
DS_revisionads_mswmi_rangeparamds_top
DS_revisionads_mswmi_realrangeparamds_top
DS_revisionads_mswmi_ruleds_top
DS_revisionads_mswmi_shadowobjectds_top
DS_revisionads_mswmi_simplepolicytemplateds_top
DS_revisionads_mswmi_somds_top
DS_revisionads_mswmi_stringsetparamds_top
DS_revisionads_mswmi_uintrangeparamds_top
DS_revisionads_mswmi_uintsetparamds_top
DS_revisionads_mswmi_unknownrangeparamds_top
DS_revisionads_mswmi_wmigpods_top
DS_revisionads_nismapds_top
DS_revisionads_nisnetgroupds_top
DS_revisionads_nisobjectds_top
DS_revisionads_ntdsconnectionds_top
DS_revisionads_ntdsdsads_top
DS_revisionads_ntdsdsarods_top
DS_revisionads_ntdsserviceds_top
DS_revisionads_ntdssitesettingsds_top
DS_revisionads_ntfrsmemberds_top
DS_revisionads_ntfrsreplicasetds_top
DS_revisionads_ntfrssettingsds_top
DS_revisionads_ntfrssubscriberds_top
DS_revisionads_ntfrssubscriptionsds_top
DS_revisionads_oncrpcds_top
DS_revisionads_organizationds_top
DS_revisionads_organizationalpersonds_top
DS_revisionads_organizationalroleds_top
DS_revisionads_organizationalunitds_top
DS_revisionads_packageregistrationds_top
DS_revisionads_personds_top
DS_revisionads_physicallocationds_top
DS_revisionads_pkicertificatetemplateds_top
DS_revisionads_pkienrollmentserviceds_top
DS_revisionads_printqueueds_top
DS_revisionads_querypolicyds_top
DS_revisionads_remotemailrecipientds_top
DS_revisionads_remotestorageservicepointds_top
DS_revisionads_residentialpersonds_top
DS_revisionads_rfc822localpartds_top
DS_revisionads_ridmanagerds_top
DS_revisionads_ridsetds_top
DS_revisionads_roomds_top
DS_revisionads_rpccontainerds_top
DS_revisionads_rpcgroupds_top
DS_revisionads_rpcprofileds_top
DS_revisionads_rpcprofileelementds_top
DS_revisionads_rpcserverds_top
DS_revisionads_rpcserverelementds_top
DS_revisionads_rrasadministrationconnectionpointds_top
DS_revisionads_rrasadministrationdictionaryds_top
DS_revisionads_samserverds_top
DS_revisionads_secretds_top
DS_revisionads_serverds_top
DS_revisionads_serverscontainerds_top
DS_revisionads_serviceadministrationpointds_top
DS_revisionads_serviceclassds_top
DS_revisionads_serviceconnectionpointds_top
DS_revisionads_serviceinstanceds_top
DS_revisionads_siteds_top
DS_revisionads_sitelinkds_top
DS_revisionads_sitelinkbridgeds_top
DS_revisionads_sitescontainerds_top
DS_revisionads_storageds_top
DS_revisionads_subnetds_top
DS_revisionads_subnetcontainerds_top
DS_revisionads_subschemads_top
DS_revisionads_trusteddomainds_top
DS_revisionads_typelibraryds_top
DS_revisionads_userds_top
DS_revisionads_volumeds_top
DS_revisionds_accountds_top
DS_revisionds_acspolicyds_top
DS_revisionds_acsresourcelimitsds_top
DS_revisionds_acssubnetds_top
DS_revisionds_addressbookcontainerds_top
DS_revisionds_addresstemplateds_top
DS_revisionds_applicationentityds_top
DS_revisionds_applicationprocessds_top
DS_revisionds_applicationsettingsds_top
DS_revisionds_applicationsitesettingsds_top
DS_revisionds_applicationversionds_top
DS_revisionds_attributeschemads_top
DS_revisionds_bootabledeviceds_top
DS_revisionds_builtindomainds_top
DS_revisionds_categoryregistrationds_top
DS_revisionds_certificationauthorityds_top
DS_revisionds_classregistrationds_top
DS_revisionds_classschemads_top
DS_revisionds_classstoreds_top
DS_revisionds_comconnectionpointds_top
DS_revisionds_computerds_top
DS_revisionds_configurationds_top
DS_revisionds_connectionpointds_top
DS_revisionds_contactds_top
DS_revisionds_containerds_top
DS_revisionds_controlaccessrightds_top
DS_revisionds_countryds_top
DS_revisionds_crldistributionpointds_top
DS_revisionds_crossrefds_top
DS_revisionds_crossrefcontainerds_top
DS_revisionds_deviceds_top
DS_revisionds_dfsconfigurationds_top
DS_revisionds_dhcpclassds_top
DS_revisionds_displayspecifierds_top
DS_revisionds_displaytemplateds_top
DS_revisionds_dmdds_top
DS_revisionds_dnsnodeds_top
DS_revisionds_dnszoneds_top
DS_revisionds_documentds_top
DS_revisionds_documentseriesds_top
DS_revisionds_domainds_top
DS_revisionds_domaindnsds_top
DS_revisionds_domainpolicyds_top
DS_revisionds_domainrelatedobjectds_top
DS_revisionds_dsads_top
DS_revisionds_dsuisettingsds_top
DS_revisionds_dynamicobjectds_top
DS_revisionds_filelinktrackingds_top
DS_revisionds_filelinktrackingentryds_top
DS_revisionds_foreignsecurityprincipalds_top
DS_revisionds_friendlycountryds_top
DS_revisionds_ftdfsds_top
DS_revisionds_groupds_top
DS_revisionds_groupofnamesds_top
DS_revisionds_groupofuniquenamesds_top
DS_revisionds_grouppolicycontainerds_top
DS_revisionds_ieee802deviceds_top
DS_revisionds_indexservercatalogds_top
DS_revisionds_inetorgpersonds_top
DS_revisionds_infrastructureupdateds_top
DS_revisionds_intellimirrorgroupds_top
DS_revisionds_intellimirrorscpds_top
DS_revisionds_intersitetransportds_top
DS_revisionds_intersitetransportcontainerds_top
DS_revisionds_iphostds_top
DS_revisionds_ipnetworkds_top
DS_revisionds_ipprotocolds_top
DS_revisionds_ipsecbaseds_top
DS_revisionds_ipsecfilterds_top
DS_revisionds_ipsecisakmppolicyds_top
DS_revisionds_ipsecnegotiationpolicyds_top
DS_revisionds_ipsecnfads_top
DS_revisionds_ipsecpolicyds_top
DS_revisionds_ipserviceds_top
DS_revisionds_leafds_top
DS_revisionds_licensingsitesettingsds_top
DS_revisionds_linktrackobjectmovetableds_top
DS_revisionds_linktrackomtentryds_top
DS_revisionds_linktrackvolentryds_top
DS_revisionds_linktrackvolumetableds_top
DS_revisionds_localityds_top
DS_revisionds_lostandfoundds_top
DS_revisionds_mailrecipientds_top
DS_revisionds_meetingds_top
DS_revisionds_ms_net_ieee_80211_grouppolicyds_top
DS_revisionds_ms_net_ieee_8023_grouppolicyds_top
DS_revisionds_ms_sql_olapcubeds_top
DS_revisionds_ms_sql_olapdatabaseds_top
DS_revisionds_ms_sql_olapserverds_top
DS_revisionds_ms_sql_sqldatabaseds_top
DS_revisionds_ms_sql_sqlpublicationds_top
DS_revisionds_ms_sql_sqlrepositoryds_top
DS_revisionds_ms_sql_sqlserverds_top
DS_revisionds_msauthz_centralaccesspoliciesds_top
DS_revisionds_msauthz_centralaccesspolicyds_top
DS_revisionds_msauthz_centralaccessruleds_top
DS_revisionds_msauthz_centralaccessrulesds_top
DS_revisionds_mscom_partitionds_top
DS_revisionds_mscom_partitionsetds_top
DS_revisionds_msdfs_deletedlinkv2ds_top
DS_revisionds_msdfs_linkv2ds_top
DS_revisionds_msdfs_namespaceanchords_top
DS_revisionds_msdfs_namespacev2ds_top
DS_revisionds_msdfsr_connectionds_top
DS_revisionds_msdfsr_contentds_top
DS_revisionds_msdfsr_contentsetds_top
DS_revisionds_msdfsr_globalsettingsds_top
DS_revisionds_msdfsr_localsettingsds_top
DS_revisionds_msdfsr_memberds_top
DS_revisionds_msdfsr_replicationgroupds_top
DS_revisionds_msdfsr_subscriberds_top
DS_revisionds_msdfsr_subscriptionds_top
DS_revisionds_msdfsr_topologyds_top
DS_revisionds_msdns_serversettingsds_top
DS_revisionds_msds_app_configurationds_top
DS_revisionds_msds_appdatads_top
DS_revisionds_msds_authnpoliciesds_top
DS_revisionds_msds_authnpolicyds_top
DS_revisionds_msds_authnpolicysilods_top
DS_revisionds_msds_authnpolicysilosds_top
DS_revisionds_msds_azadminmanagerds_top
DS_revisionds_msds_azapplicationds_top
DS_revisionds_msds_azoperationds_top
DS_revisionds_msds_azroleds_top
DS_revisionds_msds_azscopeds_top
DS_revisionds_msds_aztaskds_top
DS_revisionds_msds_claimstransformationpoliciesds_top
DS_revisionds_msds_claimstransformationpolicytypeds_top
DS_revisionds_msds_claimtypeds_top
DS_revisionds_msds_claimtypepropertybaseds_top
DS_revisionds_msds_claimtypesds_top
DS_revisionds_msds_cloudextensionsds_top
DS_revisionds_msds_deviceds_top
DS_revisionds_msds_devicecontainerds_top
DS_revisionds_msds_deviceregistrationserviceds_top
DS_revisionds_msds_deviceregistrationservicecontainerds_top
DS_revisionds_msds_groupmanagedserviceaccountds_top
DS_revisionds_msds_managedserviceaccountds_top
DS_revisionds_msds_optionalfeatureds_top
DS_revisionds_msds_passwordsettingsds_top
DS_revisionds_msds_passwordsettingscontainerds_top
DS_revisionds_msds_quotacontainerds_top
DS_revisionds_msds_quotacontrolds_top
DS_revisionds_msds_resourcepropertiesds_top
DS_revisionds_msds_resourcepropertyds_top
DS_revisionds_msds_resourcepropertylistds_top
DS_revisionds_msds_valuetypeds_top
DS_revisionds_msexchconfigurationcontainerds_top
DS_revisionds_msfve_recoveryinformationds_top
DS_revisionds_msieee80211_policyds_top
DS_revisionds_msimaging_postscanprocessds_top
DS_revisionds_msimaging_pspsds_top
DS_revisionds_mskds_provrootkeyds_top
DS_revisionds_mskds_provserverconfigurationds_top
DS_revisionds_msmq_custom_recipientds_top
DS_revisionds_msmq_groupds_top
DS_revisionds_msmqconfigurationds_top
DS_revisionds_msmqenterprisesettingsds_top
DS_revisionds_msmqmigrateduserds_top
DS_revisionds_msmqqueueds_top
DS_revisionds_msmqsettingsds_top
DS_revisionds_msmqsitelinkds_top
DS_revisionds_mspki_enterprise_oidds_top
DS_revisionds_mspki_key_recovery_agentds_top
DS_revisionds_mspki_privatekeyrecoveryagentds_top
DS_revisionds_msprint_connectionpolicyds_top
DS_revisionds_mssfu30domaininfods_top
DS_revisionds_mssfu30mailaliasesds_top
DS_revisionds_mssfu30netidds_top
DS_revisionds_mssfu30networkuserds_top
DS_revisionds_mssfu30nismapconfigds_top
DS_revisionds_msspp_activationobjectds_top
DS_revisionds_msspp_activationobjectscontainerds_top
DS_revisionds_mstapi_rtconferenceds_top
DS_revisionds_mstapi_rtpersonds_top
DS_revisionds_mstpm_informationobjectds_top
DS_revisionds_mstpm_informationobjectscontainerds_top
DS_revisionds_mswmi_intrangeparamds_top
DS_revisionds_mswmi_intsetparamds_top
DS_revisionds_mswmi_mergeablepolicytemplateds_top
DS_revisionds_mswmi_objectencodingds_top
DS_revisionds_mswmi_policytemplateds_top
DS_revisionds_mswmi_policytypeds_top
DS_revisionds_mswmi_rangeparamds_top
DS_revisionds_mswmi_realrangeparamds_top
DS_revisionds_mswmi_ruleds_top
DS_revisionds_mswmi_shadowobjectds_top
DS_revisionds_mswmi_simplepolicytemplateds_top
DS_revisionds_mswmi_somds_top
DS_revisionds_mswmi_stringsetparamds_top
DS_revisionds_mswmi_uintrangeparamds_top
DS_revisionds_mswmi_uintsetparamds_top
DS_revisionds_mswmi_unknownrangeparamds_top
DS_revisionds_mswmi_wmigpods_top
DS_revisionds_nismapds_top
DS_revisionds_nisnetgroupds_top
DS_revisionds_nisobjectds_top
DS_revisionds_ntdsconnectionds_top
DS_revisionds_ntdsdsads_top
DS_revisionds_ntdsdsarods_top
DS_revisionds_ntdsserviceds_top
DS_revisionds_ntdssitesettingsds_top
DS_revisionds_ntfrsmemberds_top
DS_revisionds_ntfrsreplicasetds_top
DS_revisionds_ntfrssettingsds_top
DS_revisionds_ntfrssubscriberds_top
DS_revisionds_ntfrssubscriptionsds_top
DS_revisionds_oncrpcds_top
DS_revisionds_organizationds_top
DS_revisionds_organizationalpersonds_top
DS_revisionds_organizationalroleds_top
DS_revisionds_organizationalunitds_top
DS_revisionds_packageregistrationds_top
DS_revisionds_personds_top
DS_revisionds_physicallocationds_top
DS_revisionds_pkicertificatetemplateds_top
DS_revisionds_pkienrollmentserviceds_top
DS_revisionds_posixaccountds_top
DS_revisionds_posixgroupds_top
DS_revisionds_printqueueds_top
DS_revisionds_querypolicyds_top
DS_revisionds_remotemailrecipientds_top
DS_revisionds_remotestorageservicepointds_top
DS_revisionds_residentialpersonds_top
DS_revisionds_rfc822localpartds_top
DS_revisionds_ridmanagerds_top
DS_revisionds_ridsetds_top
DS_revisionds_roomds_top
DS_revisionds_rpccontainerds_top
DS_revisionds_rpcentryds_top
DS_revisionds_rpcgroupds_top
DS_revisionds_rpcprofileds_top
DS_revisionds_rpcprofileelementds_top
DS_revisionds_rpcserverds_top
DS_revisionds_rpcserverelementds_top
DS_revisionds_rrasadministrationconnectionpointds_top
DS_revisionds_rrasadministrationdictionaryds_top
DS_revisionds_samdomainds_top
DS_revisionds_samdomainbaseds_top
DS_revisionds_samserverds_top
DS_revisionds_secretds_top
DS_revisionds_securityobjectds_top
DS_revisionds_securityprincipalds_top
DS_revisionds_serverds_top
DS_revisionds_serverscontainerds_top
DS_revisionds_serviceadministrationpointds_top
DS_revisionds_serviceclassds_top
DS_revisionds_serviceconnectionpointds_top
DS_revisionds_serviceinstanceds_top
DS_revisionds_shadowaccountds_top
DS_revisionds_simplesecurityobjectds_top
DS_revisionds_siteds_top
DS_revisionds_sitelinkds_top
DS_revisionds_sitelinkbridgeds_top
DS_revisionds_sitescontainerds_top
DS_revisionds_storageds_top
DS_revisionds_subnetds_top
DS_revisionds_subnetcontainerds_top
DS_revisionds_subschemads_top
DS_revisionds_trusteddomainds_top
DS_revisionds_typelibraryds_top
DS_revisionds_userds_top
DS_revisionds_volumeds_top

Code samples for DS_revision property

Get instance of WMI class using GetObject, DS_revision property of ds_container

Short VBS code - get a single specified instance of ds_container 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\directory\LDAP:" + _
 "ds_container.ADSIPath=""LDAP://CN=Users,DC=rootdomain,DC=com""")
Wscript.Echo wmiObject.DS_revision 'or other property name, see properties
See more VBS samples of ds_container class

WMI query - sample windows WQL with C#, DS_revision property of ds_container

Get a specified instance of ds_container 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\\directory\\LDAP");

//create object query
ObjectQuery query = new ObjectQuery("SELECT * FROM ds_container Where ADSIPath=\"LDAP://CN=Users,DC=rootdomain,DC=com\"");

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

WMI query - sample windows WQL with VB.Net, DS_revision property of ds_container

Get a specified instance of ds_container 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\directory\LDAP")

'Get a result of WML query 
Dim Query As New ObjectQuery("SELECT * FROM ds_container Where ADSIPath="LDAP://CN=Users,DC=rootdomain,DC=com"")

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