Powershell script does not run via Scheduled Tasks

后端 未结 18 948
南方客
南方客 2020-12-02 23:12

I have a small script on my Domain Controller that is setup to email me via SMTP about the latest Security Event 4740.

The script, when executed manually, will run a

18条回答
  •  一个人的身影
    2020-12-02 23:25

    I had very similar issue, i was keeping the VSC window with powershell script all the time when running the schedule task manually. Just closed it and it started working as expected.

提交回复
热议问题