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

StatusDescriptions in other namespaces

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

propertyClassOrigin
StatusDescriptionsCIM_ManagedSystemElementCIM_ManagedSystemElement

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

propertyClassOrigin
StatusDescriptionsCIM_AuthenticationServiceCIM_ManagedSystemElement
StatusDescriptionsCIM_ComputerSystemCIM_ManagedSystemElement
StatusDescriptionsCIM_ConcreteJobCIM_ManagedSystemElement
StatusDescriptionsCIM_ControllerConfigurationServiceCIM_ManagedSystemElement
StatusDescriptionsCIM_EnabledLogicalElementCIM_ManagedSystemElement
StatusDescriptionsCIM_EthernetPortCIM_ManagedSystemElement
StatusDescriptionsCIM_IdentityManagementServiceCIM_ManagedSystemElement
StatusDescriptionsCIM_IPProtocolEndpointCIM_ManagedSystemElement
StatusDescriptionsCIM_iSCSIConfigurationServiceCIM_ManagedSystemElement
StatusDescriptionsCIM_iSCSIConnectionCIM_ManagedSystemElement
StatusDescriptionsCIM_iSCSIProtocolEndpointCIM_ManagedSystemElement
StatusDescriptionsCIM_iSCSISessionCIM_ManagedSystemElement
StatusDescriptionsCIM_JobCIM_ManagedSystemElement
StatusDescriptionsCIM_LogicalDeviceCIM_ManagedSystemElement
StatusDescriptionsCIM_LogicalElementCIM_ManagedSystemElement
StatusDescriptionsCIM_LogicalPortCIM_ManagedSystemElement
StatusDescriptionsCIM_NetworkPipeCIM_ManagedSystemElement
StatusDescriptionsCIM_NetworkPortCIM_ManagedSystemElement
StatusDescriptionsCIM_ObjectManagerCIM_ManagedSystemElement
StatusDescriptionsCIM_ObjectManagerCommunicationMechanismCIM_ManagedSystemElement
StatusDescriptionsCIM_ProtocolControllerCIM_ManagedSystemElement
StatusDescriptionsCIM_ProtocolEndpointCIM_ManagedSystemElement
StatusDescriptionsCIM_ReplicationServiceCIM_ManagedSystemElement
StatusDescriptionsCIM_ResourcePoolCIM_ManagedSystemElement
StatusDescriptionsCIM_SCSIProtocolControllerCIM_ManagedSystemElement
StatusDescriptionsCIM_SCSIProtocolEndpointCIM_ManagedSystemElement
StatusDescriptionsCIM_SecurityServiceCIM_ManagedSystemElement
StatusDescriptionsCIM_ServiceCIM_ManagedSystemElement
StatusDescriptionsCIM_ServiceAccessPointCIM_ManagedSystemElement
StatusDescriptionsCIM_SoftwareIdentityCIM_ManagedSystemElement
StatusDescriptionsCIM_StorageConfigurationServiceCIM_ManagedSystemElement
StatusDescriptionsCIM_StorageExtentCIM_ManagedSystemElement
StatusDescriptionsCIM_StorageHardwareIDManagementServiceCIM_ManagedSystemElement
StatusDescriptionsCIM_StoragePoolCIM_ManagedSystemElement
StatusDescriptionsCIM_StorageVolumeCIM_ManagedSystemElement
StatusDescriptionsCIM_SystemCIM_ManagedSystemElement
StatusDescriptionsCIM_TCPProtocolEndpointCIM_ManagedSystemElement
StatusDescriptionsCIM_WBEMServiceCIM_ManagedSystemElement
StatusDescriptionsMSFTSM_ComputerSystemCIM_ManagedSystemElement
StatusDescriptionsMSFTSM_ObjectManagerCIM_ManagedSystemElement
StatusDescriptionsMSFTSM_SoftwareIdentityCIM_ManagedSystemElement
StatusDescriptionsMSFTSM_SystemCIM_ManagedSystemElement
StatusDescriptionsMSFTSM_WSManCommunicationMechanismCIM_ManagedSystemElement
StatusDescriptionsMSFTSMNET_EthernetPortCIM_ManagedSystemElement
StatusDescriptionsMSFTSMNET_IPProtocolEndpointCIM_ManagedSystemElement
StatusDescriptionsMSISCSITARGET_ConcreteJobCIM_ManagedSystemElement
StatusDescriptionsMSISCSITARGET_ControllerConfigurationServiceCIM_ManagedSystemElement
StatusDescriptionsMSISCSITARGET_iSCSIConfigurationServiceCIM_ManagedSystemElement
StatusDescriptionsMSISCSITARGET_iSCSIConnectionCIM_ManagedSystemElement
StatusDescriptionsMSISCSITARGET_iSCSIProtocolEndpointCIM_ManagedSystemElement
StatusDescriptionsMSISCSITARGET_iSCSISessionCIM_ManagedSystemElement
StatusDescriptionsMSISCSITARGET_ReplicationServiceCIM_ManagedSystemElement
StatusDescriptionsMSISCSITARGET_SCSIProtocolControllerCIM_ManagedSystemElement
StatusDescriptionsMSISCSITARGET_StorageConfigurationServiceCIM_ManagedSystemElement
StatusDescriptionsMSISCSITARGET_StorageHardwareIDManagementServiceCIM_ManagedSystemElement
StatusDescriptionsMSISCSITARGET_StoragePoolCIM_ManagedSystemElement
StatusDescriptionsMSISCSITARGET_StorageVolumeCIM_ManagedSystemElement
StatusDescriptionsMSISCSITARGET_TCPProtocolEndpointCIM_ManagedSystemElement

Code samples for StatusDescriptions property

Get instance of WMI class using GetObject, StatusDescriptions property of MSFTSM_WSManCommunicationMechanism

Short VBS code - get a single specified instance of MSFTSM_WSManCommunicationMechanism 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_WSManCommunicationMechanism.CreationClassName=""MSFTSM_WSManCommunicationMechanism"",Name=""MSFT:SM.WS-Management"",SystemCreationClassName=""MSFTSM_System"",SystemName=""MS iSCSITarget: ..rootdomain.com""")
Wscript.Echo wmiObject.StatusDescriptions 'or other property name, see properties
See more VBS samples of MSFTSM_WSManCommunicationMechanism class

WMI query - sample windows WQL with C#, StatusDescriptions property of MSFTSM_WSManCommunicationMechanism

Get a specified instance of MSFTSM_WSManCommunicationMechanism 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_WSManCommunicationMechanism Where CreationClassName=\"MSFTSM_WSManCommunicationMechanism\"Name=\"MSFT:SM.WS-Management\"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("StatusDescriptions : {0}", m["StatusDescriptions"]);
  
}

WMI query - sample windows WQL with VB.Net, StatusDescriptions property of MSFTSM_WSManCommunicationMechanism

Get a specified instance of MSFTSM_WSManCommunicationMechanism 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_WSManCommunicationMechanism Where CreationClassName="MSFTSM_WSManCommunicationMechanism"Name="MSFT:SM.WS-Management"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("StatusDescriptions : {0}", mObject("StatusDescriptions"))
Next
comments powered by Disqus
WUtils.com