SystemCreationClassName - property in ROOT\StandardCimv2\MS_409 namespace

SystemCreationClassName in other namespaces

List of classes with SystemCreationClassName local property in ROOT\StandardCimv2\MS_409 namespace

propertyClassOrigin
SystemCreationClassNameCIM_FilterEntryBaseCIM_FilterEntryBase
SystemCreationClassNameCIM_LogicalDeviceCIM_LogicalDevice
SystemCreationClassNameCIM_PolicyActionCIM_PolicyAction
SystemCreationClassNameCIM_PolicyRuleCIM_PolicyRule
SystemCreationClassNameCIM_ServiceAccessPointCIM_ServiceAccessPoint

List of classes with SystemCreationClassName derived property in ROOT\StandardCimv2\MS_409 namespace

propertyClassOrigin
SystemCreationClassNameCIM_IKEActionCIM_PolicyAction
SystemCreationClassNameCIM_IKESAEndpointCIM_ServiceAccessPoint
SystemCreationClassNameCIM_IPProtocolEndpointCIM_ServiceAccessPoint
SystemCreationClassNameCIM_IPsecSAEndpointCIM_ServiceAccessPoint
SystemCreationClassNameCIM_LANEndpointCIM_ServiceAccessPoint
SystemCreationClassNameCIM_LogicalPortCIM_LogicalDevice
SystemCreationClassNameCIM_NetworkPortCIM_LogicalDevice
SystemCreationClassNameCIM_ProtocolEndpointCIM_ServiceAccessPoint
SystemCreationClassNameCIM_RemoteServiceAccessPointCIM_ServiceAccessPoint
SystemCreationClassNameCIM_SAActionCIM_PolicyAction
SystemCreationClassNameCIM_SANegotiationActionCIM_PolicyAction
SystemCreationClassNameCIM_SARuleCIM_PolicyRule
SystemCreationClassNameCIM_SecurityAssociationEndpointCIM_ServiceAccessPoint
SystemCreationClassNameMSFT_NetAdapterCIM_LogicalDevice
SystemCreationClassNameMSFT_NetAddressFilterCIM_FilterEntryBase
SystemCreationClassNameMSFT_NetApplicationFilterCIM_FilterEntryBase
SystemCreationClassNameMSFT_NetBaseIPProtocolCIM_ServiceAccessPoint
SystemCreationClassNameMSFT_NetConSecRuleCIM_PolicyRule
SystemCreationClassNameMSFT_NetFirewallRuleCIM_PolicyRule
SystemCreationClassNameMSFT_NetIKEAuthSetCIM_PolicyAction
SystemCreationClassNameMSFT_NetIKECryptoSetCIM_PolicyAction
SystemCreationClassNameMSFT_NetIKEMMCryptoSetCIM_PolicyAction
SystemCreationClassNameMSFT_NetIKEP1AuthSetCIM_PolicyAction
SystemCreationClassNameMSFT_NetIKEP2AuthSetCIM_PolicyAction
SystemCreationClassNameMSFT_NetIKEQMCryptoSetCIM_PolicyAction
SystemCreationClassNameMSFT_NetInterfaceFilterCIM_FilterEntryBase
SystemCreationClassNameMSFT_NetInterfaceTypeFilterCIM_FilterEntryBase
SystemCreationClassNameMSFT_NetIPAddressCIM_ServiceAccessPoint
SystemCreationClassNameMSFT_NetIPInterfaceCIM_ServiceAccessPoint
SystemCreationClassNameMSFT_NetIPv4ProtocolCIM_ServiceAccessPoint
SystemCreationClassNameMSFT_NetIPv6ProtocolCIM_ServiceAccessPoint
SystemCreationClassNameMSFT_NetMainModeRuleCIM_PolicyRule
SystemCreationClassNameMSFT_NetMainModeSACIM_ServiceAccessPoint
SystemCreationClassNameMSFT_NetNeighborCIM_ServiceAccessPoint
SystemCreationClassNameMSFT_NetNetworkLayerSecurityFilterCIM_FilterEntryBase
SystemCreationClassNameMSFT_NetProtocolPortFilterCIM_FilterEntryBase
SystemCreationClassNameMSFT_NetQuickModeSACIM_ServiceAccessPoint
SystemCreationClassNameMSFT_NetSARuleCIM_PolicyRule
SystemCreationClassNameMSFT_NetServiceFilterCIM_FilterEntryBase
SystemCreationClassNameMSFT_NetTCPSettingCIM_PolicyAction
SystemCreationClassNameMSFT_NetTransportFilterCIM_FilterEntryBase
SystemCreationClassNameMSFT_NetUDPSettingCIM_PolicyAction

Code samples for SystemCreationClassName property

Get instance of WMI class using GetObject, SystemCreationClassName property of CIM_NetworkPort

Short VBS code - get a single specified instance of CIM_NetworkPort 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\MS_409:" + _
 "CIM_NetworkPort.CreationClassName=""Value"",DeviceID=""Value"",SystemCreationClassName=""Value"",SystemName=""Value""")
Wscript.Echo wmiObject.SystemCreationClassName 'or other property name, see properties
See more VBS samples of CIM_NetworkPort class

WMI query - sample windows WQL with C#, SystemCreationClassName property of CIM_NetworkPort

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

//create object query
ObjectQuery query = new ObjectQuery("SELECT * FROM CIM_NetworkPort");

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

WMI query - sample windows WQL with VB.Net, SystemCreationClassName property of CIM_NetworkPort

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

'Get a result of WML query 
Dim Query As New ObjectQuery("SELECT * FROM CIM_NetworkPort")

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