Forum Discussion
dolphin168
Jan 14, 2022Copper Contributor
Schedule job to check exchange queue
Hi,
We are running exchange 2016 on-premise. We would like to monitor the exchange queue information regular interval. I have written a simple script to send the output of the exchange queue to my email and it runs successfully in exchange management shell.
1) I used powershell to create the schedule task using gMSA account but not successful.
2) I used the schedule task GUI to create the task, it runs successful when "run only when user is logon" is selected. It will not run successfully if I select "run whether user is logon or not", note that I also select "Run with highest privileges".
Thanks in advance for any advise.
No RepliesBe the first to reply