Quantcast
Channel: Exchange Server 2013 - General Discussion forum
Viewing all articles
Browse latest Browse all 4521

Schedule task for Exchange Scripts

$
0
0

Hello,

I am trying to setup exchange environment report to run as a schedule task but cant seem to make it work at all.

I have setup the schedule task as below :



The argument is as follows :

-NonInteractive -WindowStyle Hidden -command ". 'D:\Program Files\Microsoft\Exchange Server\V15\bin\RemoteExchange.ps1'; Connect-ExchangeServer -auto; D:\Powershell Scripts\EER\Get-ExchangeEnvironmentReport.ps1 -HTMLReport c:\users\windowsboss\desktop\report.html -SendMail:$true -MailFrom:EER@test.com -MailTo:winadmins@test.com -MailServer:mailserver.test.com

Any ideas why it is not working ? :S


Viewing all articles
Browse latest Browse all 4521

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>