Nice tutorial. One comment. I did everything the same you did. For some reason my task does not run using Task Scheduler. When I run through CLI in VSCode simply works. My ExecutionPolicy is RemoteSigned, W11 , PowerShell Core... any thoughts to help me?
@matthewdaugherty462
2 ай бұрын
@douglaspiresmartins2955 make sure who ever thr task is running has the same level of access. Open powershell as that user and try to run the script see what happens. You can also add some logging output in the script to see what is happening as well.
Пікірлер: 2