Caption - property in ROOT\Microsoft\IPAM\MS_409 namespace

Caption in other namespaces

List of classes with Caption local property in ROOT\Microsoft\IPAM\MS_409 namespace

propertyClassOrigin
CaptionCIM_ManagedElementCIM_ManagedElement

List of classes with Caption derived property in ROOT\Microsoft\IPAM\MS_409 namespace

propertyClassOrigin
CaptionCIM_AdminDomainCIM_ManagedElement
CaptionCIM_CollectionCIM_ManagedElement
CaptionCIM_CollectionOfMSEsCIM_ManagedElement
CaptionCIM_ConcreteJobCIM_ManagedElement
CaptionCIM_ConnectivityCollectionCIM_ManagedElement
CaptionCIM_DatabaseParameterCIM_ManagedElement
CaptionCIM_EnabledLogicalElementCIM_ManagedElement
CaptionCIM_IPConnectivitySubnetCIM_ManagedElement
CaptionCIM_IPProtocolEndpointCIM_ManagedElement
CaptionCIM_JobCIM_ManagedElement
CaptionCIM_LogEntryCIM_ManagedElement
CaptionCIM_LogicalElementCIM_ManagedElement
CaptionCIM_ManagedSystemElementCIM_ManagedElement
CaptionCIM_ProductCIM_ManagedElement
CaptionCIM_ProtocolEndpointCIM_ManagedElement
CaptionCIM_RangeOfIPAddressesCIM_ManagedElement
CaptionCIM_RecordForLogCIM_ManagedElement
CaptionCIM_ScopedSettingDataCIM_ManagedElement
CaptionCIM_ServiceAccessPointCIM_ManagedElement
CaptionCIM_SettingCIM_ManagedElement
CaptionCIM_SettingDataCIM_ManagedElement
CaptionCIM_SoftwareFeatureCIM_ManagedElement
CaptionCIM_SystemCIM_ManagedElement
CaptionCIM_SystemSpecificCollectionCIM_ManagedElement
CaptionMSFT_IPAM_AddressCIM_ManagedElement
CaptionMSFT_IPAM_AddressSpaceCIM_ManagedElement
CaptionMSFT_IPAM_BlockCIM_ManagedElement
CaptionMSFT_IPAM_ConfigLogEntryCIM_ManagedElement
CaptionMSFT_IPAM_CustomFieldCIM_ManagedElement
CaptionMSFT_IPAM_CustomFieldAssociationCIM_ManagedElement
CaptionMSFT_IPAM_CustomValueCIM_ManagedElement
CaptionMSFT_IPAM_DBConfigCIM_ManagedElement
CaptionMSFT_IPAM_DhcpConfigLogEntryCIM_ManagedElement
CaptionMSFT_IPAM_DiscoveryDomainCIM_ManagedElement
CaptionMSFT_IPAM_IPAddressUtilizationThresholdCIM_ManagedElement
CaptionMSFT_IPAM_IpAuditLogEntryCIM_ManagedElement
CaptionMSFT_IPAM_LogEntryCIM_ManagedElement
CaptionMSFT_IPAM_RangeCIM_ManagedElement
CaptionMSFT_IPAM_ServerCIM_ManagedElement
CaptionMSFT_IPAM_ServerCapabilitiesCIM_ManagedElement
CaptionMSFT_IPAM_ServerConfigurationCIM_ManagedElement
CaptionMSFT_IPAM_ServerInventoryCIM_ManagedElement
CaptionMSFT_IPAM_SubnetCIM_ManagedElement
CaptionMSFT_IPAM_WCFServiceHostCollectionCIM_ManagedElement

Code samples for Caption property

Get instance of WMI class using GetObject, Caption property of CIM_Job

Short VBS code - get a single specified instance of CIM_Job 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\Microsoft\IPAM\ms_409:" + _
 "CIM_Job.PropertyName=""SomeText""")
Wscript.Echo wmiObject.Caption 'or other property name, see properties
See more VBS samples of CIM_Job class

WMI query - sample windows WQL with C#, Caption property of CIM_Job

Get a specified instance of CIM_Job 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\\Microsoft\\IPAM\\ms_409");

//create object query
ObjectQuery query = new ObjectQuery("SELECT * FROM CIM_Job Where PropertyName=\"SomeText\"");

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

WMI query - sample windows WQL with VB.Net, Caption property of CIM_Job

Get a specified instance of CIM_Job 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\Microsoft\IPAM\ms_409")

'Get a result of WML query 
Dim Query As New ObjectQuery("SELECT * FROM CIM_Job Where PropertyName="SomeText"")

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