I need to setup a scheduled task the will utilize Remote EMS Powershell to run a DAG Health script. My boss does not want me to schedule the task on the mail server itself. Not sure how to do this.<\/p>","upvoteCount":3,"answerCount":4,"datePublished":"2016-05-11T18:18:00.000Z","author":{"@type":"Person","name":"kennethdean2","url":"https://community.spiceworks.com/u/kennethdean2"},"acceptedAnswer":{"@type":"Answer","text":"
If you have the exchange management tools on your local workstation, you can just run powershell and connect to your exchange environment to run your commands. Make a powershell file, then run that as a scheduled task locally.<\/p>","upvoteCount":2,"datePublished":"2016-05-11T19:30:54.000Z","url":"https://community.spiceworks.com/t/scheduled-task-exchange-management-shell-powershell/495696/2","author":{"@type":"Person","name":"matthart5","url":"https://community.spiceworks.com/u/matthart5"}},"suggestedAnswer":[{"@type":"Answer","text":"
I need to setup a scheduled task the will utilize Remote EMS Powershell to run a DAG Health script. My boss does not want me to schedule the task on the mail server itself. Not sure how to do this.<\/p>","upvoteCount":3,"datePublished":"2016-05-11T18:18:00.000Z","url":"https://community.spiceworks.com/t/scheduled-task-exchange-management-shell-powershell/495696/1","author":{"@type":"Person","name":"kennethdean2","url":"https://community.spiceworks.com/u/kennethdean2"}},{"@type":"Answer","text":"
lol… this is one of those “Why didn’t I think of that?” moments!!!<\/p>\n
Running to Coffee machine, must… get… more… coffee… lol<\/p>\n
Thank you CrazyLefty!!!<\/p>","upvoteCount":1,"datePublished":"2016-05-11T20:03:47.000Z","url":"https://community.spiceworks.com/t/scheduled-task-exchange-management-shell-powershell/495696/3","author":{"@type":"Person","name":"kennethdean2","url":"https://community.spiceworks.com/u/kennethdean2"}},{"@type":"Answer","text":"
How about if I schedule the task to run on a remote machine, lets say my laptop? My boss doesn’t want the task to run on our production servers.<\/p>","upvoteCount":0,"datePublished":"2016-05-18T21:41:27.000Z","url":"https://community.spiceworks.com/t/scheduled-task-exchange-management-shell-powershell/495696/4","author":{"@type":"Person","name":"kennethdean2","url":"https://community.spiceworks.com/u/kennethdean2"}}]}}