≡ Menu

Powershell: Change monitor brightness

Recently I came across a method using which you can control the monitor brightness. This method uses the WMI class named “WMIMonitorBrightnessMethods” which lies under rootwmi. This WMI classes offers various other functions using which you can manage various parameters of monitor brightness

Here is the example code:

function Set-MonitorBrighness {
param (

$mymonitor = Get-WmiObject -Namespace rootwmi -Class WmiMonitorBrightnessMethods
Set-MonitorBrighness -brightness 1


This sets the monitor brightness level to 1%. The first parameter of the “wmisetbrightness” function is timeout which defines the time it takes to switch to the brightness one you have set.

{ 2 comments… add one }
  • MD. Mohiuddin Ahmed May 11, 2013, 2:18 am

    Will it work for PowerShell 1.0?

Leave a Comment