Share via


MsftSil_Computer class

The MsftSil_Computer WMI class retrieves system data about a server.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

[ClassVersion("1.0.1"), dynamic, provider("silprovider"), AMENDMENT]
class MsftSil_Computer : MsftSil_Data
{
  string   ChassisSerialNumber;
  datetime CollectedDateTime;
  string   Model;
  string   Name;
  uint32   NumberOfCores;
  uint32   NumberOfLogicalProcessors;
  uint32   NumberOfProcessors;
  string   OSName;
  uint32   OSSku;
  uint32   OSSuite;
  uint32   OSSuiteMask;
  string   OSVersion;
  uint32   ProcessorFamily;
  string   ProcessorManufacturer;
  string   ProcessorName;
  string   SystemManufacturer;
  string   VmGuid;
};

Members

The MsftSil_Computer class has these types of members:

Properties

The MsftSil_Computer class has these properties.

ChassisSerialNumber

Data type: string

Access type: Read-only

Retrieves the serial number on the chassis of the server.

CollectedDateTime

Data type: datetime

Access type: Read-only

Qualifiers: Msft_MiCompare_IgnoreProperty

Retrieves the time and date the system data was collected.

Model

Data type: string

Access type: Read-only

Retrieves the model name of the server.

Name

Data type: string

Access type: Read-only

Qualifiers: key

Retrieves the computer name that identifies the system.

NumberOfCores

Data type: uint32

Access type: Read-only

Retrieves the number of processor cores in the system.

NumberOfLogicalProcessors

Data type: uint32

Access type: Read-only

Retrieves the number of physical processors in the system.

NumberOfProcessors

Data type: uint32

Access type: Read-only

Retrieves the number of physical and virtual processors in the system.

OSName

Data type: string

Access type: Read-only

Retrieves the name of the operating system (OS).

OSSku

Data type: uint32

Access type: Read-only

Retrieves the SKU of the OS.

OSSuite

Data type: uint32

Access type: Read-only

Retrieves the OS suite.

OSSuiteMask

Data type: uint32

Access type: Read-only

Retrieves the suite mask of the OS.

OSVersion

Data type: string

Access type: Read-only

Retrieves the OS version.

ProcessorFamily

Data type: uint32

Access type: Read-only

Retrieves the name of the processor family.

ProcessorManufacturer

Data type: string

Access type: Read-only

Retrieves the name of the manufacturer of the processor.

ProcessorName

Data type: string

Access type: Read-only

Retrieves the name of the processor type.

SystemManufacturer

Data type: string

Access type: Read-only

Retrieves the name of the server manufacturer.

VmGuid

Data type: string

Access type: Read-only

This property has been removed.

Windows Server 2012 R2: Retrieves the GUID of the virtual machine.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012 R2
Namespace
Root\InventoryLogging
MOF
SILProvider.mof
DLL
SILProvider.dll

See also

MsftSil_Data

Software Inventory Logging WMI Data Provider Classes