MSFT_ServerOperatingSystem class
Represents the operating system 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_ServerOperatingSystem
{
string Name;
uint32 MajorVersion;
uint32 MinorVersion;
uint32 BuildNumber;
uint16 SPMajorVersion;
uint16 SPMinorVersion;
string SKU;
string Language;
uint8 Architecture;
uint32 SKUId;
};
Members
The MSFT_ServerOperatingSystem class has these types of members:
Properties
The MSFT_ServerOperatingSystem class has these properties.
-
Architecture
-
-
Data type: uint8
-
Access type: Read-only
The operating system's architecture.
-
-
Unknown (0)
-
32-bit (1)
-
64-bit (2)
BuildNumber
-
Data type: uint32
-
Access type: Read-only
The build number of the operating system.
Language
-
Data type: string
-
Access type: Read-only
The operating system locale name.
MajorVersion
-
Data type: uint32
-
Access type: Read-only
The major version number of the operating system.
MinorVersion
-
Data type: uint32
-
Access type: Read-only
The minor version number of the operating system.
Name
-
Data type: string
-
Access type: Read-only
The brand name of the operating system.
SKU
-
Data type: string
-
Access type: Read-only
The Stock Keeping Unit name of the operating system.
SKUId
-
Data type: uint32
-
Access type: Read-only
The Stock Keeping Unit Id of the operating system.
SPMajorVersion
-
Data type: uint16
-
Access type: Read-only
The major version number of the operating system service pack installed.
SPMinorVersion
-
Data type: uint16
-
Access type: Read-only
The minor version number of the operating system service pack installed.
Requirements
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2012 |
Namespace |
Root\Windows\ServerManager |
MOF |
|
DLL |
|