You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure what would cause the WmiSetBrightness method to be missing. The way that ChangeDisplayBrightness.ps1 sets brightness matches the example script in Microsoft docs here.
Could you check your version of PowerShell by running powershell $PSVersionTable in a Command Prompt to ensure you have the latest version installed and on your PATH?
After some troubleshooting, I narrowed it down to an unknown conflict with Powershell7. Apparently having Powershell7 installed will cause windows to use that as a default when running scripts. I still think the exact cause is unknown since manually running the brightness command on line 22, in an instance of Powershell7, will still give the same output as regular Windows Powershell
Steps to Reproduce:
Are you using the Microsoft Store version of WDD?: No
The text was updated successfully, but these errors were encountered: