Caption - property in ROOT\MicrosoftIISv2 namespace

Caption in other namespaces

List of classes with Caption local property in ROOT\MicrosoftIISv2 namespace

propertyClassOrigin
CaptionCIM_ManagedSystemElementCIM_ManagedSystemElement
CaptionCIM_SettingCIM_Setting

List of classes with Caption derived property in ROOT\MicrosoftIISv2 namespace

propertyClassOrigin
CaptionCIM_ApplicationSystemCIM_ManagedSystemElement
CaptionCIM_LogicalElementCIM_ManagedSystemElement
CaptionCIM_ServiceCIM_ManagedSystemElement
CaptionCIM_SystemCIM_ManagedSystemElement
CaptionIIsACECIM_ManagedSystemElement
CaptionIIsAdminACLCIM_ManagedSystemElement
CaptionIIsApplicationPoolCIM_ManagedSystemElement
CaptionIIsApplicationPoolsCIM_ManagedSystemElement
CaptionIIsApplicationPoolSettingCIM_Setting
CaptionIIsApplicationPoolsSettingCIM_Setting
CaptionIIsCertMapperCIM_ManagedSystemElement
CaptionIIsCertMapperSettingCIM_Setting
CaptionIIsCompressionSchemeCIM_ManagedSystemElement
CaptionIIsCompressionSchemesCIM_ManagedSystemElement
CaptionIIsCompressionSchemeSettingCIM_Setting
CaptionIIsCompressionSchemesSettingCIM_Setting
CaptionIIsComputerCIM_ManagedSystemElement
CaptionIIsComputerSettingCIM_Setting
CaptionIIsCustomLogModuleCIM_ManagedSystemElement
CaptionIIsCustomLogModuleSettingCIM_Setting
CaptionIIsDirectoryCIM_ManagedSystemElement
CaptionIIsFilterCIM_ManagedSystemElement
CaptionIIsFiltersCIM_ManagedSystemElement
CaptionIIsFilterSettingCIM_Setting
CaptionIIsFiltersSettingCIM_Setting
CaptionIIsFtpInfoCIM_ManagedSystemElement
CaptionIIsFtpInfoSettingCIM_Setting
CaptionIIsFtpServerCIM_ManagedSystemElement
CaptionIIsFtpServerSettingCIM_Setting
CaptionIIsFtpServiceCIM_ManagedSystemElement
CaptionIIsFtpServiceSettingCIM_Setting
CaptionIIsFtpVirtualDirCIM_ManagedSystemElement
CaptionIIsFtpVirtualDirSettingCIM_Setting
CaptionIIsImapInfoCIM_ManagedSystemElement
CaptionIIsImapInfoSettingCIM_Setting
CaptionIIsImapRoutingSourceCIM_ManagedSystemElement
CaptionIIsImapRoutingSourceSettingCIM_Setting
CaptionIIsImapServerCIM_ManagedSystemElement
CaptionIIsImapServerSettingCIM_Setting
CaptionIIsImapServiceCIM_ManagedSystemElement
CaptionIIsImapServiceSettingCIM_Setting
CaptionIIsImapSessionsCIM_ManagedSystemElement
CaptionIIsImapSessionsSettingCIM_Setting
CaptionIIsImapVirtualDirCIM_ManagedSystemElement
CaptionIIsImapVirtualDirSettingCIM_Setting
CaptionIIsIPSecuritySettingCIM_Setting
CaptionIIsLogModuleCIM_ManagedSystemElement
CaptionIIsLogModulesCIM_ManagedSystemElement
CaptionIIsLogModuleSettingCIM_Setting
CaptionIIsLogModulesSettingCIM_Setting
CaptionIIsMimeMapCIM_ManagedSystemElement
CaptionIIsMimeMapSettingCIM_Setting
CaptionIIsNntpExpirationCIM_ManagedSystemElement
CaptionIIsNntpExpirationSettingCIM_Setting
CaptionIIsNntpExpireCIM_ManagedSystemElement
CaptionIIsNntpExpireSettingCIM_Setting
CaptionIIsNntpFeedCIM_ManagedSystemElement
CaptionIIsNntpFeedsCIM_ManagedSystemElement
CaptionIIsNntpFeedSettingCIM_Setting
CaptionIIsNntpFeedsSettingCIM_Setting
CaptionIIsNntpGroupsCIM_ManagedSystemElement
CaptionIIsNntpGroupsSettingCIM_Setting
CaptionIIsNntpInfoCIM_ManagedSystemElement
CaptionIIsNntpInfoSettingCIM_Setting
CaptionIIsNntpRebuildCIM_ManagedSystemElement
CaptionIIsNntpRebuildSettingCIM_Setting
CaptionIIsNntpServerCIM_ManagedSystemElement
CaptionIIsNntpServerSettingCIM_Setting
CaptionIIsNntpServiceCIM_ManagedSystemElement
CaptionIIsNntpServiceSettingCIM_Setting
CaptionIIsNntpSessionsCIM_ManagedSystemElement
CaptionIIsNntpSessionsSettingCIM_Setting
CaptionIIsNntpVirtualDirCIM_ManagedSystemElement
CaptionIIsNntpVirtualDirSettingCIM_Setting
CaptionIIsObjectCIM_ManagedSystemElement
CaptionIIsObjectSettingCIM_Setting
CaptionIIsPop3InfoCIM_ManagedSystemElement
CaptionIIsPop3InfoSettingCIM_Setting
CaptionIIsPop3RoutingSourceCIM_ManagedSystemElement
CaptionIIsPop3RoutingSourceSettingCIM_Setting
CaptionIIsPop3ServerCIM_ManagedSystemElement
CaptionIIsPop3ServerSettingCIM_Setting
CaptionIIsPop3ServiceCIM_ManagedSystemElement
CaptionIIsPop3ServiceSettingCIM_Setting
CaptionIIsPop3SessionsCIM_ManagedSystemElement
CaptionIIsPop3SessionsSettingCIM_Setting
CaptionIIsPop3VirtualDirCIM_ManagedSystemElement
CaptionIIsPop3VirtualDirSettingCIM_Setting
CaptionIIsSettingCIM_Setting
CaptionIIsSmtpAliasCIM_ManagedSystemElement
CaptionIIsSmtpAliasSettingCIM_Setting
CaptionIIsSmtpDLCIM_ManagedSystemElement
CaptionIIsSmtpDLSettingCIM_Setting
CaptionIIsSmtpDomainCIM_ManagedSystemElement
CaptionIIsSmtpDomainSettingCIM_Setting
CaptionIIsSmtpInfoCIM_ManagedSystemElement
CaptionIIsSmtpInfoSettingCIM_Setting
CaptionIIsSmtpRoutingSourceCIM_ManagedSystemElement
CaptionIIsSmtpRoutingSourceSettingCIM_Setting
CaptionIIsSmtpServerCIM_ManagedSystemElement
CaptionIIsSmtpServerSettingCIM_Setting
CaptionIIsSmtpServiceCIM_ManagedSystemElement
CaptionIIsSmtpServiceSettingCIM_Setting
CaptionIIsSmtpSessionsCIM_ManagedSystemElement
CaptionIIsSmtpSessionsSettingCIM_Setting
CaptionIIsSmtpUserCIM_ManagedSystemElement
CaptionIIsSmtpUserSettingCIM_Setting
CaptionIIsSmtpVirtualDirCIM_ManagedSystemElement
CaptionIIsSmtpVirtualDirSettingCIM_Setting
CaptionIIsUserDefinedLogicalElementCIM_ManagedSystemElement
CaptionIIsUserDefinedSettingCIM_Setting
CaptionIIsWebDirectoryCIM_ManagedSystemElement
CaptionIIsWebDirectorySettingCIM_Setting
CaptionIIsWebFileCIM_ManagedSystemElement
CaptionIIsWebFileSettingCIM_Setting
CaptionIIsWebInfoCIM_ManagedSystemElement
CaptionIIsWebInfoSettingCIM_Setting
CaptionIIsWebServerCIM_ManagedSystemElement
CaptionIIsWebServerSettingCIM_Setting
CaptionIIsWebServiceCIM_ManagedSystemElement
CaptionIIsWebServiceSettingCIM_Setting
CaptionIIsWebVirtualDirCIM_ManagedSystemElement
CaptionIIsWebVirtualDirSettingCIM_Setting
CaptionWin32_BaseServiceCIM_ManagedSystemElement
CaptionWin32_ServiceCIM_ManagedSystemElement

Code samples for Caption property

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

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

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

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

//create object query
ObjectQuery query = new ObjectQuery("SELECT * FROM Win32_Service Where Name=\"adfssrv\"");

//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 Win32_Service

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

'Get a result of WML query 
Dim Query As New ObjectQuery("SELECT * FROM Win32_Service Where Name="adfssrv"")

'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