Hi Mltoombs,
Yes, the script is to send email to remind users to change their password.
i tested to run the script in the exchage (CAS) server without any issue.
the script cannot able to run it with task scheduler.
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -command ". 'c:\program files\microsoft\exchange server\v14\bin\remoteexchange.ps1'; connect-exchangeserver -auto; c:\scripts\PasswordReminder.ps1"
Please advise.
Thank you
SC Moh