$nightMode, # True if night mode is enabled $daySegment4, # -1 = N/A, 0 = Sunrise, 1 = Day, 2 = Sunset, 3 = Night Now the missing part is how to change the mouse cursor. This is what I done so far (checked if theme uses light/dark theme). I am having hard time writing a script to change mouse cursor using powershell script.
I have this application called WDD scripts which have the power of PowerShell scripts depending on the time of the day/ dark or light system OS theme. I am having some hard time trying to change mouse cursor using PowerShell script on windows 11.