Do, you ever tried to change the monitor brightness using PowerShell. If not, than go and try it. It’s too cool.
You can use the below “WmiMonitorBrightnessMethods” class to set the brightness of the monitor. You need to use “WmiSetBrightness” method of the class to set brightness.
Do this:
1. Set your monitor brightness to the full.
2. Run the below command and see the result
(Get-WmiObject -Namespace root/WMI -Class WmiMonitorBrightnessMethods).WmiSetBrightness(1,20)
Amazed, Your monitor brightness will be set to 20. You can set the value of brightness from 0-100 .
Just change the value of 20 in above command from 0-100.
if you want you can convert it to function too J ..
Go and test it J .
In-case you got an error, “Not Supported” that means you display driver won’t support it.
Happy Weekend.
Thanks
Aman Dhally
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.