Win32_SystemOperatingSystem class
The Win32_SystemOperatingSystem association WMI class relates a computer system and its operating system.
The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties. Properties and methods are in alphabetic order, not MOF order.
Syntax
class Win32_SystemOperatingSystem : CIM_InstalledOS
{
Win32_ComputerSystem REF GroupComponent;
Win32_OperatingSystem REF PartComponent;
boolean PrimaryOS;
};
Members
The Win32_SystemOperatingSystem class has these types of members:
Properties
The Win32_SystemOperatingSystem class has these properties.
- GroupComponent
-
Reference to the instance representing the properties of the computer system upon which the operating system is installed.
- PartComponent
-
- Data type: Win32_OperatingSystem
- Access type: Read-only
- Qualifiers: Key
Reference to the instance representing the properties of the operating system running on this computer system.
- PrimaryOS
-
- Data type: boolean
- Access type: Read-only
This operating system is the default operating system for the computer system.
Remarks
The Win32_SystemOperatingSystem class is derived from CIM_InstalledOS.
Examples
For script code examples, see WMI Tasks for Scripts and Applications and the TechNet ScriptCenter Script Repository.
For C++ code examples, see WMI C++ Application Examples.
Requirements
|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server | Windows 2000 Server [desktop apps only] |
|
Namespace |
\root\CIMV2 |
|
MOF |
|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 11/19/2012