patrick-theprogrammer / WindowsDisplayManager

A powershell module for managing Windows display settings.
https://www.powershellgallery.com/packages/WindowsDisplayManager
MIT License
15 stars 1 forks source link

DisableHdr() works, but EnableHdr() doesn't #3

Open pmonck opened 1 month ago

pmonck commented 1 month ago

Using Windows 11: Calling "$primaryDisplay.SetResolution(3840,2160,98) -and $primaryDisplay.DisableHdr()" disables HDR as expected

However, calling "$primaryDisplay.SetResolution(3840,2160,98) -and $primaryDisplay.EnableHdr()" returns True, but HDR remains disabled.

marshall1210 commented 1 month ago

I am experiencing the same exact same problematic behavior, detailed in the Issue I logged. Curious when you have HDR disabled, and you retrieve the display information, does HdrEnabled attribute always show True for you as well?