MSFT_ServerInventory class
Represents the inventory information of the server.
The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.
Syntax
[ClassVersion("1.0.0"), dynamic, provider("mgmtprovider"), AMENDMENT]
class MSFT_ServerInventory
{
string Name;
string Description;
string Fqdn;
string Domain;
boolean IsDomainJoined;
uint8 Type;
string ProductId;
uint8 CeipSetting;
uint8 WerSetting;
boolean IsWerSettingEnforcedByGP;
uint8 ActivationStatus;
datetime CbsTimestamp;
uint64 TotalPhysicalMemory;
string Manufacturer;
string ProcessorNames[];
};
Members
The MSFT_ServerInventory class has these types of members:
Properties
The MSFT_ServerInventory class has these properties.
-
ActivationStatus
-
-
Data type: uint8
-
Access type: Read-only
The activation status of the server.
-
-
Unknown (0)
-
Activated (1)
-
Not Activated (2)
CbsTimestamp
-
Data type: datetime
-
Access type: Read-only
The timestamp of the last update by Component Based Servicing.
CeipSetting
-
Data type: uint8
-
Access type: Read-only
The Customer Experience Improvement Program setting on the server.
Unknown (0)
Disabled (1)
Disabled by Group Policy (2)
Enabled (3)
Enabled by GroupPolicy (4)
Description
-
Data type: string
-
Access type: Read-only
The description of the server.
Domain
-
Data type: string
-
Access type: Read-only
The domain name of the server.
Fqdn
-
Data type: string
-
Access type: Read-only
The fully qualified domain of the server.
IsDomainJoined
-
Data type: boolean
-
Access type: Read-only
Is the server joined to a domain.
IsWerSettingEnforcedByGP
-
Data type: boolean
-
Access type: Read-only
Is Windows Error Reporting setting enforced by Group Policy.
Manufacturer
-
Data type: string
-
Access type: Read-only
The manufacturer of the server.
Name
-
Data type: string
-
Access type: Read-only
The name of the server.
ProcessorNames
-
Data type: string array
-
Access type: Read-only
The names of the processors installed on the server.
ProductId
-
Data type: string
-
Access type: Read-only
The product ID of the server.
TotalPhysicalMemory
-
Data type: uint64
-
Access type: Read-only
The total physical memory installed on the server.
Type
-
Data type: uint8
-
Access type: Read-only
The type of the server.
Unknown (0)
Physical (1)
Virtual (2)
WerSetting
-
Data type: uint8
-
Access type: Read-only
The Windows Error Reporting setting on the server.
Requirements
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2012 |
Namespace |
Root\Windows\ServerManager |
MOF |
|
DLL |
|