description - property in ROOT\CIMV2\storage\iscsitarget namespace

description in other namespaces

List of classes with description local property in ROOT\CIMV2\storage\iscsitarget namespace

propertyClassOrigin
description__ExtendedStatus__ExtendedStatus
descriptionCIM_ManagedElementCIM_ManagedElement

List of classes with description derived property in ROOT\CIMV2\storage\iscsitarget namespace

propertyClassOrigin
descriptionCIM_AuthenticationServiceCIM_ManagedElement
descriptionCIM_AuthorizedPrivilegeCIM_ManagedElement
descriptionCIM_CapabilitiesCIM_ManagedElement
descriptionCIM_ComputerSystemCIM_ManagedElement
descriptionCIM_ConcreteJobCIM_ManagedElement
descriptionCIM_ControllerConfigurationServiceCIM_ManagedElement
descriptionCIM_EnabledLogicalElementCIM_ManagedElement
descriptionCIM_EthernetPortCIM_ManagedElement
descriptionCIM_IdentityCIM_ManagedElement
descriptionCIM_IdentityManagementServiceCIM_ManagedElement
descriptionCIM_IPProtocolEndpointCIM_ManagedElement
descriptionCIM_iSCSICapabilitiesCIM_ManagedElement
descriptionCIM_iSCSIConfigurationCapabilitiesCIM_ManagedElement
descriptionCIM_iSCSIConfigurationServiceCIM_ManagedElement
descriptionCIM_iSCSIConnectionCIM_ManagedElement
descriptionCIM_iSCSIProtocolEndpointCIM_ManagedElement
descriptionCIM_iSCSISessionCIM_ManagedElement
descriptionCIM_iSCSISessionSettingsCIM_ManagedElement
descriptionCIM_JobCIM_ManagedElement
descriptionCIM_LogicalDeviceCIM_ManagedElement
descriptionCIM_LogicalElementCIM_ManagedElement
descriptionCIM_LogicalPortCIM_ManagedElement
descriptionCIM_ManagedSystemElementCIM_ManagedElement
descriptionCIM_NamespaceCIM_ManagedElement
descriptionCIM_NetworkPipeCIM_ManagedElement
descriptionCIM_NetworkPortCIM_ManagedElement
descriptionCIM_ObjectManagerCIM_ManagedElement
descriptionCIM_ObjectManagerCommunicationMechanismCIM_ManagedElement
descriptionCIM_PrivilegeCIM_ManagedElement
descriptionCIM_ProtocolControllerCIM_ManagedElement
descriptionCIM_ProtocolControllerMaskingCapabilitiesCIM_ManagedElement
descriptionCIM_ProtocolEndpointCIM_ManagedElement
descriptionCIM_ReplicationServiceCIM_ManagedElement
descriptionCIM_ReplicationServiceCapabilitiesCIM_ManagedElement
descriptionCIM_ResourcePoolCIM_ManagedElement
descriptionCIM_SCSIProtocolControllerCIM_ManagedElement
descriptionCIM_SCSIProtocolEndpointCIM_ManagedElement
descriptionCIM_SecurityServiceCIM_ManagedElement
descriptionCIM_ServiceCIM_ManagedElement
descriptionCIM_ServiceAccessPointCIM_ManagedElement
descriptionCIM_SettingDataCIM_ManagedElement
descriptionCIM_SoftwareIdentityCIM_ManagedElement
descriptionCIM_StorageCapabilitiesCIM_ManagedElement
descriptionCIM_StorageClientSettingDataCIM_ManagedElement
descriptionCIM_StorageConfigurationCapabilitiesCIM_ManagedElement
descriptionCIM_StorageConfigurationServiceCIM_ManagedElement
descriptionCIM_StorageExtentCIM_ManagedElement
descriptionCIM_StorageHardwareIDCIM_ManagedElement
descriptionCIM_StorageHardwareIDManagementServiceCIM_ManagedElement
descriptionCIM_StoragePoolCIM_ManagedElement
descriptionCIM_StorageReplicationCapabilitiesCIM_ManagedElement
descriptionCIM_StorageSettingCIM_ManagedElement
descriptionCIM_StorageVolumeCIM_ManagedElement
descriptionCIM_SystemCIM_ManagedElement
descriptionCIM_TCPProtocolEndpointCIM_ManagedElement
descriptionCIM_WBEMServiceCIM_ManagedElement
descriptionMSFTSM_ComputerSystemCIM_ManagedElement
descriptionMSFTSM_NamespaceCIM_ManagedElement
descriptionMSFTSM_ObjectManagerCIM_ManagedElement
descriptionMSFTSM_SoftwareIdentityCIM_ManagedElement
descriptionMSFTSM_SystemCIM_ManagedElement
descriptionMSFTSM_WSManCommunicationMechanismCIM_ManagedElement
descriptionMSFTSMNET_EthernetPortCIM_ManagedElement
descriptionMSFTSMNET_IPProtocolEndpointCIM_ManagedElement
descriptionMSISCSITARGET_AuthorizedPrivilegeCIM_ManagedElement
descriptionMSISCSITARGET_ConcreteJobCIM_ManagedElement
descriptionMSISCSITARGET_ControllerConfigurationServiceCIM_ManagedElement
descriptionMSISCSITARGET_iSCSICapabilitiesCIM_ManagedElement
descriptionMSISCSITARGET_iSCSIConfigurationCapabilitiesCIM_ManagedElement
descriptionMSISCSITARGET_iSCSIConfigurationServiceCIM_ManagedElement
descriptionMSISCSITARGET_iSCSIConnectionCIM_ManagedElement
descriptionMSISCSITARGET_iSCSIProtocolEndpointCIM_ManagedElement
descriptionMSISCSITARGET_iSCSISessionCIM_ManagedElement
descriptionMSISCSITARGET_iSCSISessionSettingsCIM_ManagedElement
descriptionMSISCSITARGET_ProtocolControllerMaskingCapabilitiesCIM_ManagedElement
descriptionMSISCSITARGET_ReplicationServiceCIM_ManagedElement
descriptionMSISCSITARGET_ReplicationServiceCapabilitiesCIM_ManagedElement
descriptionMSISCSITARGET_SCSIProtocolControllerCIM_ManagedElement
descriptionMSISCSITARGET_StorageCapabilitiesCIM_ManagedElement
descriptionMSISCSITARGET_StorageClientSettingDataCIM_ManagedElement
descriptionMSISCSITARGET_StorageConfigurationCapabilitiesCIM_ManagedElement
descriptionMSISCSITARGET_StorageConfigurationServiceCIM_ManagedElement
descriptionMSISCSITARGET_StorageHardwareIDCIM_ManagedElement
descriptionMSISCSITARGET_StorageHardwareIDManagementServiceCIM_ManagedElement
descriptionMSISCSITARGET_StoragePoolCIM_ManagedElement
descriptionMSISCSITARGET_StorageReplicationCapabilitiesCIM_ManagedElement
descriptionMSISCSITARGET_StorageSettingCIM_ManagedElement
descriptionMSISCSITARGET_StorageVolumeCIM_ManagedElement
descriptionMSISCSITARGET_TCPProtocolEndpointCIM_ManagedElement

Code samples for description property

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

Short VBS code - get a single specified instance of MSFTSM_Namespace 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\CIMV2\storage\iscsitarget:" + _
 "MSFTSM_Namespace.CreationClassName=""MSFTSM_NameSpace"",Name=""root\\interop"",ObjectManagerCreationClassName=""MSFTSM_ObjectManager"",ObjectManagerName=""MSFT:SM.ObjectManager"",SystemCreationClassName=""MSFTSM_System"",SystemName=""MS iSCSITarget: ..rootdomain.com""")
Wscript.Echo wmiObject.description 'or other property name, see properties
See more VBS samples of MSFTSM_Namespace class

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

Get a specified instance of MSFTSM_Namespace 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\\CIMV2\\storage\\iscsitarget");

//create object query
ObjectQuery query = new ObjectQuery("SELECT * FROM MSFTSM_Namespace Where CreationClassName=\"MSFTSM_NameSpace\"Name=\"root\\\\interop\"ObjectManagerCreationClassName=\"MSFTSM_ObjectManager\"ObjectManagerName=\"MSFT:SM.ObjectManager\"SystemCreationClassName=\"MSFTSM_System\"SystemName=\"MS iSCSITarget: W2012SDC.rootdomain.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("description : {0}", m["description"]);
  
}

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

Get a specified instance of MSFTSM_Namespace 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\CIMV2\storage\iscsitarget")

'Get a result of WML query 
Dim Query As New ObjectQuery("SELECT * FROM MSFTSM_Namespace Where CreationClassName="MSFTSM_NameSpace"Name="root\\interop"ObjectManagerCreationClassName="MSFTSM_ObjectManager"ObjectManagerName="MSFT:SM.ObjectManager"SystemCreationClassName="MSFTSM_System"SystemName="MS iSCSITarget: W2012SDC.rootdomain.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("description : {0}", mObject("description"))
Next
comments powered by Disqus
WUtils.com