description - property in ROOT\MicrosoftDNS namespace

description in other namespaces

List of classes with description local property in ROOT\MicrosoftDNS namespace

propertyClassOrigin
description__ExtendedStatus__ExtendedStatus
descriptionCIM_ManagedSystemElementCIM_ManagedSystemElement

List of classes with description derived property in ROOT\MicrosoftDNS namespace

propertyClassOrigin
descriptionCIM_LogicalElementCIM_ManagedSystemElement
descriptionCIM_ServiceCIM_ManagedSystemElement
descriptionMicrosoftDNS_AAAATypeCIM_ManagedSystemElement
descriptionMicrosoftDNS_AFSDBTypeCIM_ManagedSystemElement
descriptionMicrosoftDNS_ATMATypeCIM_ManagedSystemElement
descriptionMicrosoftDNS_ATypeCIM_ManagedSystemElement
descriptionMicrosoftDNS_CacheCIM_ManagedSystemElement
descriptionMicrosoftDNS_CNAMETypeCIM_ManagedSystemElement
descriptionMicrosoftDNS_DomainCIM_ManagedSystemElement
descriptionMicrosoftDNS_HINFOTypeCIM_ManagedSystemElement
descriptionMicrosoftDNS_ISDNTypeCIM_ManagedSystemElement
descriptionMicrosoftDNS_KEYTypeCIM_ManagedSystemElement
descriptionMicrosoftDNS_MBTypeCIM_ManagedSystemElement
descriptionMicrosoftDNS_MDTypeCIM_ManagedSystemElement
descriptionMicrosoftDNS_MFTypeCIM_ManagedSystemElement
descriptionMicrosoftDNS_MGTypeCIM_ManagedSystemElement
descriptionMicrosoftDNS_MINFOTypeCIM_ManagedSystemElement
descriptionMicrosoftDNS_MRTypeCIM_ManagedSystemElement
descriptionMicrosoftDNS_MXTypeCIM_ManagedSystemElement
descriptionMicrosoftDNS_NSTypeCIM_ManagedSystemElement
descriptionMicrosoftDNS_NXTTypeCIM_ManagedSystemElement
descriptionMicrosoftDNS_PTRTypeCIM_ManagedSystemElement
descriptionMicrosoftDNS_ResourceRecordCIM_ManagedSystemElement
descriptionMicrosoftDNS_RootHintsCIM_ManagedSystemElement
descriptionMicrosoftDNS_RPTypeCIM_ManagedSystemElement
descriptionMicrosoftDNS_RTTypeCIM_ManagedSystemElement
descriptionMicrosoftDNS_ServerCIM_ManagedSystemElement
descriptionMicrosoftDNS_SIGTypeCIM_ManagedSystemElement
descriptionMicrosoftDNS_SOATypeCIM_ManagedSystemElement
descriptionMicrosoftDNS_SRVTypeCIM_ManagedSystemElement
descriptionMicrosoftDNS_TXTTypeCIM_ManagedSystemElement
descriptionMicrosoftDNS_WINSRTypeCIM_ManagedSystemElement
descriptionMicrosoftDNS_WINSTypeCIM_ManagedSystemElement
descriptionMicrosoftDNS_WKSTypeCIM_ManagedSystemElement
descriptionMicrosoftDNS_X25TypeCIM_ManagedSystemElement
descriptionMicrosoftDNS_ZoneCIM_ManagedSystemElement

Code samples for description property

Get instance of WMI class using GetObject, description property of MicrosoftDNS_AAAAType

Short VBS code - get a single specified instance of MicrosoftDNS_AAAAType 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\MicrosoftDNS:" + _
 "MicrosoftDNS_AAAAType.ContainerName=""..RootHints"",DnsServerName=""..rootdomain.com"",DomainName=""in-addr-servers.arpa."",OwnerName=""a.in-addr-servers.arpa."",RecordClass=1,RecordData=""2001:500:13::73""")
Wscript.Echo wmiObject.description 'or other property name, see properties
See more VBS samples of MicrosoftDNS_AAAAType class

WMI query - sample windows WQL with C#, description property of MicrosoftDNS_AAAAType

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

//create object query
ObjectQuery query = new ObjectQuery("SELECT * FROM MicrosoftDNS_AAAAType Where ContainerName=\"..RootHints\"DnsServerName=\"W2012SDC.rootdomain.com\"DomainName=\"in-addr-servers.arpa.\"OwnerName=\"a.in-addr-servers.arpa.\"RecordClass=\"1\"RecordData=\"2001:500:13::73\"");

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

WMI query - sample windows WQL with VB.Net, description property of MicrosoftDNS_AAAAType

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

'Get a result of WML query 
Dim Query As New ObjectQuery("SELECT * FROM MicrosoftDNS_AAAAType Where ContainerName="..RootHints"DnsServerName="W2012SDC.rootdomain.com"DomainName="in-addr-servers.arpa."OwnerName="a.in-addr-servers.arpa."RecordClass="1"RecordData="2001:500:13::73"")

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