AssocClass


For fun I repeated the query but piped through a Format-List *

PS C:\Windows\system32> gwmi -query $query | fl *


Name                    : LanmanWorkstation
Status                  : OK
ExitCode                : 0
DesktopInteract         : False
ErrorControl            : Normal
PathName                : C:\Windows\System32\svchost.exe -k NetworkService
ServiceType             : Share Process
StartMode               : Auto
__GENUS                 : 2
__CLASS                 : Win32_Service
__SUPERCLASS            : Win32_BaseService
__DYNASTY               : CIM_ManagedSystemElement
__RELPATH               : Win32_Service.Name="LanmanWorkstation"
__PROPERTY_COUNT        : 25
__DERIVATION            : {Win32_BaseService, CIM_Service, CIM_LogicalElement, CIM_ManagedSystemElement}
__SERVER                : My_PC
__NAMESPACE             : root\cimv2
__PATH                  : \\My_PC\root\cimv2:Win32_Service.Name="LanmanWorkstation"
AcceptPause             : True
AcceptStop              : True
Caption                 : Workstation
CheckPoint              : 0
CreationClassName       : Win32_Service
Description             : Creates and maintains client network connections to remote servers using the SMB protocol. If this service is stopped, these connections will be unavailable. If this service is disabled, any services that explicitly depend on it will fail to start.
DisplayName             : Workstation
InstallDate             :
ProcessId               : 1328
ServiceSpecificExitCode : 0
Started                 : True
StartName               : NT AUTHORITY\NetworkService
State                   : Running
SystemCreationClassName : Win32_ComputerSystem
SystemName              : My_PC
TagId                   : 0
WaitHint                : 0
Scope                   : System.Management.ManagementScope
Path                    : \\My_PC\root\cimv2:Win32_Service.Name="LanmanWorkstation"
Options                 : System.Management.ObjectGetOptions
ClassPath               : \\My_PC\root\cimv2:Win32_Service
Properties              : {AcceptPause, AcceptStop, Caption, CheckPoint...}
SystemProperties        : {__GENUS, __CLASS, __SUPERCLASS, __DYNASTY...}
Qualifiers              : {dynamic, Locale, provider, UUID}
Site                    :
Container               :



PS C:\Windows\system32>





No comments:

Post a Comment