SessionId - property in ROOT\WMI\ms_409 namespace

SessionId in other namespaces

List of classes with SessionId local property in ROOT\WMI\ms_409 namespace

propertyClassOrigin
SessionIdAspCurrentSessionAspCurrentSession
SessionIdAspNewSessionAspNewSession
SessionIdAspSecureSessionIDAspSecureSessionID
SessionIdFileOperationFileOperation
SessionIdFtpAuthentication_AuthenticationNotConfiguredFtpAuthentication_AuthenticationNotConfigured
SessionIdFtpAuthentication_EndAnonymousLogonFtpAuthentication_EndAnonymousLogon
SessionIdFtpAuthentication_EndAuthenticationFtpAuthentication_EndAuthentication
SessionIdFtpAuthentication_EndBasicLogonFtpAuthentication_EndBasicLogon
SessionIdFtpAuthentication_EndClientCertLogonFtpAuthentication_EndClientCertLogon
SessionIdFtpAuthentication_EndCustomLogonFtpAuthentication_EndCustomLogon
SessionIdFtpAuthentication_FailAnonymousLogonFtpAuthentication_FailAnonymousLogon
SessionIdFtpAuthentication_FailAnonymousNotAllowedFtpAuthentication_FailAnonymousNotAllowed
SessionIdFtpAuthentication_FailBasicLogonFtpAuthentication_FailBasicLogon
SessionIdFtpAuthentication_FailClientCertLogonFtpAuthentication_FailClientCertLogon
SessionIdFtpAuthentication_FailCustomLogonFtpAuthentication_FailCustomLogon
SessionIdFtpAuthentication_InvalidAnonymousAccountFtpAuthentication_InvalidAnonymousAccount
SessionIdFtpAuthentication_PasswordChangeNeededFtpAuthentication_PasswordChangeNeeded
SessionIdFtpAuthentication_StartAnonymousLogonFtpAuthentication_StartAnonymousLogon
SessionIdFtpAuthentication_StartAuthenticationFtpAuthentication_StartAuthentication
SessionIdFtpAuthentication_StartBasicLogonFtpAuthentication_StartBasicLogon
SessionIdFtpAuthentication_StartClientCertLogonFtpAuthentication_StartClientCertLogon
SessionIdFtpAuthentication_StartCustomLogonFtpAuthentication_StartCustomLogon
SessionIdFtpCommands_EndFtpCommandFtpCommands_EndFtpCommand
SessionIdFtpCommands_FailFtpCommandFtpCommands_FailFtpCommand
SessionIdFtpCommands_QueueFtpCommandFtpCommands_QueueFtpCommand
SessionIdFtpCommands_StartFtpCommandFtpCommands_StartFtpCommand
SessionIdFtpConnection_CloseCtrlChannelFtpConnection_CloseCtrlChannel
SessionIdFtpConnection_CloseCtrlChannelFailFtpConnection_CloseCtrlChannelFail
SessionIdFtpConnection_CloseDataChannelFtpConnection_CloseDataChannel
SessionIdFtpConnection_CloseDataChannelFailFtpConnection_CloseDataChannelFail
SessionIdFtpConnection_CloseDataChannelListenerFtpConnection_CloseDataChannelListener
SessionIdFtpConnection_CloseDataChannelListenerFailFtpConnection_CloseDataChannelListenerFail
SessionIdFtpConnection_EndDataChannelFtpConnection_EndDataChannel
SessionIdFtpConnection_EndFtpChannelFtpConnection_EndFtpChannel
SessionIdFtpConnection_StartCtrlChannelFtpConnection_StartCtrlChannel
SessionIdFtpConnection_StartDataChannelFtpConnection_StartDataChannel
SessionIdFtpConnection_StartListenerDataChannelFtpConnection_StartListenerDataChannel
SessionIdFtpExtensibility_EndCallProviderFtpExtensibility_EndCallProvider
SessionIdFtpExtensibility_FailCallProviderFtpExtensibility_FailCallProvider
SessionIdFtpExtensibility_StartCallProviderFtpExtensibility_StartCallProvider
SessionIdFtpFileSystemAccess_EndCreateOrDeleteFtpFileSystemAccess_EndCreateOrDelete
SessionIdFtpFileSystemAccess_FailedCreateOrDeleteFtpFileSystemAccess_FailedCreateOrDelete
SessionIdFtpFileSystemAccess_StartCreateOrDeleteFtpFileSystemAccess_StartCreateOrDelete
SessionIdFtpProcessing_EndMapPathFtpProcessing_EndMapPath
SessionIdFtpProcessing_EndReadUrlConfigFtpProcessing_EndReadUrlConfig
SessionIdFtpProcessing_FailMapPathFtpProcessing_FailMapPath
SessionIdFtpProcessing_FailReadUrlConfigFtpProcessing_FailReadUrlConfig
SessionIdFtpProcessing_StartMapPathFtpProcessing_StartMapPath
SessionIdFtpProcessing_StartReadUrlConfigFtpProcessing_StartReadUrlConfig
SessionIdFtpSecurity_DataConnectionIpAddressMismatchFtpSecurity_DataConnectionIpAddressMismatch
SessionIdFtpSecurity_ImpersonateUserFtpSecurity_ImpersonateUser
SessionIdFtpSecurity_RevertImpersonationFtpSecurity_RevertImpersonation
SessionIdFtpSslInfo_ClientCertInfoFtpSslInfo_ClientCertInfo
SessionIdFtpSslInfo_HandshakeInfoFtpSslInfo_HandshakeInfo
SessionIdFtpSslInfo_SslEndHandshakeFtpSslInfo_SslEndHandshake
SessionIdFtpSslInfo_SslErrorEventsFtpSslInfo_SslErrorEvents
SessionIdFtpSslInfo_SslStartHandshakeFtpSslInfo_SslStartHandshake
SessionIdFtpSslSchannelCalls_SchannelCallFtpSslSchannelCalls_SchannelCall
SessionIdFtpSslShowCleartextData_DecryptedDataFtpSslShowCleartextData_DecryptedData
SessionIdFtpSslShowCleartextData_ToBeEncryptedDataFtpSslShowCleartextData_ToBeEncryptedData
SessionIdMSiSCSIInitiator_SessionClassMSiSCSIInitiator_SessionClass
SessionIdProcess_Defunct_TypeGroup1Process_Defunct_TypeGroup1
SessionIdProcess_V1_TypeGroup1Process_V1_TypeGroup1
SessionIdProcess_V2_TypeGroup1Process_V2_TypeGroup1
SessionIdProcess_V3_TypeGroup1Process_V3_TypeGroup1
SessionIdProcess_V4_TypeGroup1Process_V4_TypeGroup1
SessionIdSessionPoolAllocFreeSessionPoolAllocFree

Code samples for SessionId property

Get instance of WMI class using GetObject, SessionId property of FtpCommands_StartFtpCommand

Short VBS code - get a single specified instance of FtpCommands_StartFtpCommand 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\WMI\ms_409:" + _
 "FtpCommands_StartFtpCommand.PropertyName=""SomeText""")
Wscript.Echo wmiObject.SessionId 'or other property name, see properties
See more VBS samples of FtpCommands_StartFtpCommand class

WMI query - sample windows WQL with C#, SessionId property of FtpCommands_StartFtpCommand

Get a specified instance of FtpCommands_StartFtpCommand 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\\WMI\\ms_409");

//create object query
ObjectQuery query = new ObjectQuery("SELECT * FROM FtpCommands_StartFtpCommand Where PropertyName=\"SomeText\"");

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

WMI query - sample windows WQL with VB.Net, SessionId property of FtpCommands_StartFtpCommand

Get a specified instance of FtpCommands_StartFtpCommand 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\WMI\ms_409")

'Get a result of WML query 
Dim Query As New ObjectQuery("SELECT * FROM FtpCommands_StartFtpCommand Where PropertyName="SomeText"")

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