Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The WmiMonitorBrightness WMI class represents the brightness parameters of a computer monitor.
Syntax
class WmiMonitorBrightness : MSMonitorClass
{
boolean Active;
uint8 CurrentBrightness;
InstanceName;
uint8 Level[];
uint32 Levels;
};
Members
The WmiMonitorBrightness class has these types of members:
Properties
The WmiMonitorBrightness class has these properties.
-
Active
-
-
Data type: boolean
-
Access type: Read-only
Indicates if the target monitor is active.
-
-
CurrentBrightness
-
-
Data type: uint8
-
Access type: Read-only
Current brightness. This value must be a value taken from Levels.
Example: 100
-
-
InstanceName
-
-
Access type: Read-only
-
Qualifiers: Key
Name of the specific monitor instance.
-
-
Level
-
-
Data type: uint8 array
-
Access type: Read-only
Array containing the possible brightness levels.
Example: [0, 1, 2, ..., 100].
-
-
Levels
-
-
Data type: uint32
-
Access type: Read-only
The total number of brightness levels the monitor supports, as described in Level.
Example: 101
-
Examples
For more information and code samples on using this class in PowerShell, see Use PowerShell to Report and Set Monitor Brightness.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista |
Minimum supported server |
Windows Server 2008 |
Namespace |
Root\wmi |
MOF |
|
DLL |
|