Sunday, May 26, 2013

Helpdesk Service Desk auto reply auto response exchange 2010


To send your users auto response from helpdesk, simply set out of office for helpdesk and schedule below commands in task manager to execute everyday, they will receive one notification per day. you can schedule with high frequency than 24 hrs.

When you disable and enable AutoReplyState for a mailbox, users mailing them 2nd time will receive another out of office.... which works for helpdesk auto response...

Save below commands in text file as AutoResponse.ps1 in D:\Scripts\

==========================================================
Set-MailboxAutoReplyConfiguration -Identity "Helpdesk" -AutoReplyState Disabled
Get-MailboxAutoReplyConfiguration -Identity "Helpdesk" |Select Autoreplystate
Set-MailboxAutoReplyConfiguration -Identity "Helpdesk" -AutoReplyState Enabled
Get-MailboxAutoReplyConfiguration -Identity "Helpdesk" |Select Autoreplystate
==========================================================

Create a basic schedule task in windows Scheduler and paste below command...

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -command ". 'E:\Exchange\bin\RemoteExchange.ps1'; Connect-ExchangeServer -auto; c:\AutoResponse.ps1"