Apply multiple settings at once using a configuration pipeline
mainTo reduce flickering and the time required to change multiple settings, you can pipe a configuration object through multiple commandlets and finish the pipeline with Use-DisplayConfig. This applies all specified settings in a single batch.
Get-DisplayConfig |
Set-DisplayResolution -DisplayId 1 -Width 2560 -Height 1440 |
Set-DisplayRefreshRate -DisplayId 1 -RefreshRate 165 |
Use-DisplayConfig