SystemName - property in ROOT\StandardCimv2 namespace

SystemName in other namespaces

List of classes with SystemName local property in ROOT\StandardCimv2 namespace

propertyClassOrigin
SystemNameCIM_FilterEntryBaseCIM_FilterEntryBase
SystemNameCIM_LogicalDeviceCIM_LogicalDevice
SystemNameCIM_PolicyActionCIM_PolicyAction
SystemNameCIM_PolicyRuleCIM_PolicyRule
SystemNameCIM_ServiceAccessPointCIM_ServiceAccessPoint
SystemNameMSFT_NetAdapterSettingDataMSFT_NetAdapterSettingData

List of classes with SystemName derived property in ROOT\StandardCimv2 namespace

propertyClassOrigin
SystemNameCIM_DNSProtocolEndpointCIM_ServiceAccessPoint
SystemNameCIM_IKEActionCIM_PolicyAction
SystemNameCIM_IKESAEndpointCIM_ServiceAccessPoint
SystemNameCIM_IPProtocolEndpointCIM_ServiceAccessPoint
SystemNameCIM_IPsecSAEndpointCIM_ServiceAccessPoint
SystemNameCIM_LANEndpointCIM_ServiceAccessPoint
SystemNameCIM_LogicalPortCIM_LogicalDevice
SystemNameCIM_NetworkPortCIM_LogicalDevice
SystemNameCIM_ProtocolEndpointCIM_ServiceAccessPoint
SystemNameCIM_RemoteServiceAccessPointCIM_ServiceAccessPoint
SystemNameCIM_SAActionCIM_PolicyAction
SystemNameCIM_SANegotiationActionCIM_PolicyAction
SystemNameCIM_SARuleCIM_PolicyRule
SystemNameCIM_SecurityAssociationEndpointCIM_ServiceAccessPoint
SystemNameMSFT_DNSClientCIM_ServiceAccessPoint
SystemNameMSFT_DNSClientServerAddressCIM_ServiceAccessPoint
SystemNameMSFT_NetAdapterCIM_LogicalDevice
SystemNameMSFT_NetAdapterAdvancedPropertySettingDataMSFT_NetAdapterSettingData
SystemNameMSFT_NetAdapterBindingSettingDataMSFT_NetAdapterSettingData
SystemNameMSFT_NetAdapterChecksumOffloadSettingDataMSFT_NetAdapterSettingData
SystemNameMSFT_NetAdapterEncapsulatedPacketTaskOffloadSettingDataMSFT_NetAdapterSettingData
SystemNameMSFT_NetAdapterHardwareInfoSettingDataMSFT_NetAdapterSettingData
SystemNameMSFT_NetAdapterIPsecOffloadV2SettingDataMSFT_NetAdapterSettingData
SystemNameMSFT_NetAdapterLsoSettingDataMSFT_NetAdapterSettingData
SystemNameMSFT_NetAdapterPowerManagementSettingDataMSFT_NetAdapterSettingData
SystemNameMSFT_NetAdapterQosSettingDataMSFT_NetAdapterSettingData
SystemNameMSFT_NetAdapterRdmaSettingDataMSFT_NetAdapterSettingData
SystemNameMSFT_NetAdapterRscSettingDataMSFT_NetAdapterSettingData
SystemNameMSFT_NetAdapterRssSettingDataMSFT_NetAdapterSettingData
SystemNameMSFT_NetAdapterSriovSettingDataMSFT_NetAdapterSettingData
SystemNameMSFT_NetAdapterSriovVfSettingDataMSFT_NetAdapterSettingData
SystemNameMSFT_NetAdapterStatisticsSettingDataMSFT_NetAdapterSettingData
SystemNameMSFT_NetAdapterVmqQueueSettingDataMSFT_NetAdapterSettingData
SystemNameMSFT_NetAdapterVmqSettingDataMSFT_NetAdapterSettingData
SystemNameMSFT_NetAdapterVPortSettingDataMSFT_NetAdapterSettingData
SystemNameMSFT_NetAddressFilterCIM_FilterEntryBase
SystemNameMSFT_NetApplicationFilterCIM_FilterEntryBase
SystemNameMSFT_NetBaseIPProtocolCIM_ServiceAccessPoint
SystemNameMSFT_NetConSecRuleCIM_PolicyRule
SystemNameMSFT_NetFirewallRuleCIM_PolicyRule
SystemNameMSFT_NetIKEAuthSetCIM_PolicyAction
SystemNameMSFT_NetIKECryptoSetCIM_PolicyAction
SystemNameMSFT_NetIKEMMCryptoSetCIM_PolicyAction
SystemNameMSFT_NetIKEP1AuthSetCIM_PolicyAction
SystemNameMSFT_NetIKEP2AuthSetCIM_PolicyAction
SystemNameMSFT_NetIKEQMCryptoSetCIM_PolicyAction
SystemNameMSFT_NetInterfaceFilterCIM_FilterEntryBase
SystemNameMSFT_NetInterfaceTypeFilterCIM_FilterEntryBase
SystemNameMSFT_NetIPAddressCIM_ServiceAccessPoint
SystemNameMSFT_NetIPInterfaceCIM_ServiceAccessPoint
SystemNameMSFT_NetIPv4ProtocolCIM_ServiceAccessPoint
SystemNameMSFT_NetIPv6ProtocolCIM_ServiceAccessPoint
SystemNameMSFT_NetMainModeRuleCIM_PolicyRule
SystemNameMSFT_NetMainModeSACIM_ServiceAccessPoint
SystemNameMSFT_NetNeighborCIM_ServiceAccessPoint
SystemNameMSFT_NetNetworkLayerSecurityFilterCIM_FilterEntryBase
SystemNameMSFT_NetProtocolPortFilterCIM_FilterEntryBase
SystemNameMSFT_NetQuickModeSACIM_ServiceAccessPoint
SystemNameMSFT_NetSARuleCIM_PolicyRule
SystemNameMSFT_NetServiceFilterCIM_FilterEntryBase
SystemNameMSFT_NetTCPSettingCIM_PolicyAction
SystemNameMSFT_NetTransportFilterCIM_FilterEntryBase
SystemNameMSFT_NetUDPSettingCIM_PolicyAction

Code samples for SystemName property

Get instance of WMI class using GetObject, SystemName property of MSFT_NetProtocolPortFilter

Short VBS code - get a single specified instance of MSFT_NetProtocolPortFilter 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\StandardCimv2:" + _
 "MSFT_NetProtocolPortFilter.CreationClassName=""MSFT|FW|FirewallRule|vm-monitoring-icmpv6"",Name="""",SystemCreationClassName="""",SystemName=""""")
Wscript.Echo wmiObject.SystemName 'or other property name, see properties
See more VBS samples of MSFT_NetProtocolPortFilter class

WMI query - sample windows WQL with C#, SystemName property of MSFT_NetProtocolPortFilter

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

//create object query
ObjectQuery query = new ObjectQuery("SELECT * FROM MSFT_NetProtocolPortFilter Where CreationClassName=\"MSFT|FW|FirewallRule|vm-monitoring-icmpv6\"Name=\"\"SystemCreationClassName=\"\"SystemName=\"\"");

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

WMI query - sample windows WQL with VB.Net, SystemName property of MSFT_NetProtocolPortFilter

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

'Get a result of WML query 
Dim Query As New ObjectQuery("SELECT * FROM MSFT_NetProtocolPortFilter Where CreationClassName="MSFT|FW|FirewallRule|vm-monitoring-icmpv6"Name=""SystemCreationClassName=""SystemName=""")

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