Export (0) Print
Expand All
Expand Minimize

Win32_OptionalFeature class

Represents the status of the optional features that are present on the operating system.

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

Syntax

[Provider("CIMWin32")]class Win32_OptionalFeature : CIM_LogicalElement
{
  string   Name;
  string   Caption;
  uint32   InstallState;
  string   Description;
  datetime InstallDate;
  string   Status;
};

Members

The Win32_OptionalFeature class has these types of members:

Properties

The Win32_OptionalFeature class has these properties.

Caption
Data type: string
Access type: Read-only

Specifies an optional feature display name if present.

Description
Data type: string
Access type: Read-only

This property is NULL. The Description property is inherited from CIM_ManagedSystemElement.

InstallDate
Data type: datetime
Access type: Read-only

This property is NULL. The InstallDate property is inherited from CIM_ManagedSystemElement.

InstallState
Data type: uint32
Access type: Read-only

Identifies the state of the optional feature. The following states are possible:

Enabled (1)
Disabled (2)
Absent (3)
Unknown (4)
Name
Data type: string
Access type: Read-only
Qualifiers: key

Specifies the name of the optional feature.

Status
Data type: string
Access type: Read-only

This property is NULL. The Status property is inherited from CIM_ManagedSystemElement.

Requirements

Minimum supported client

Windows 7

Minimum supported server

Windows Server 2008 R2

Namespace

\root\CIMV2

MOF

CIMWin32.mof

DLL

CIMWin32.dll

See also

CIM_LogicalElement
CIM_ManagedSystemElement
Querying the Status of Optional Features

 

 

Show:
© 2014 Microsoft