New
#1
PowerShell script pinned to taskbar has stopped working
I made a very simple PowerShell script to open my display settings so that I could quickly change the display scale, which I pinned to my taskbar. It worked fine until today, when it stopped working from the taskbar, although it still works if I right-click on the script in explorer and run it that way. I have no idea why it suddenly stopped working from the taskbar. I unpinned it from the taskbar and then pinned it again (by first pinning the powershell exe), but when I try to run it now it displays some kind of error message in red. Unfortunately the powershell window closes before I can read the error message. How can I regain quick access to my display settings?