Skip to content

fercastt/PowerShell-Display-Dimmer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

PowerShell-Display-Dimmer

What you can do graphically with a slider component, you can now do with PowerShell, programmatically, for the use you may think of.

-Run the brightness.ps1 scpript in PowerShell.

-The script will show the actual brightness level on your display and prompt for a new one.

-Type the desired brightness level, from 0 to 100, and press enter.

-Display will change brightness and PS will show the new level.

The intention is to have access to this feature programmatically, in case it is needed.

Notes:

-Only tested on Windows 10.

-Script uses WMI which is deprecated by MS. Migration to CIM/WS-Man should be considered.

-May need to modifiy execution policies. RemoteSigned worked for me: Set-ExecutionPolicy -ExecutionPolicy RemoteSigned

About

What you can do graphically with a slider component, you can now do with PowerShell, programmatically, for the advantages you may think of.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors