Modifying Auto Reply Configuration for Users in your Organization with Powershell
Now and then, when your staff go on leave they put out of office auto reply, but in case, some users forget to do so, or can not get back to office at mentioned date in the auto reply message, and send System administrator to modify my out of office out reply, or set auto reply
to get the out of office reply for a user - by Exchange management shell
to enable the Auto reply and schedule
Get-MailboxAutoReplyConfiguration -Identity Rahmat.fedayizada |
http://2.bp.blogspot.com/-DliNWFdfboo/UV_oji-7UgI/AAAAAAAABGg/QSxdD06hYxE/s640/Capture.JPGthe result return with the message the user has set for internal and external
http://2.bp.blogspot.com/-iG7T7cAdqSo/UV_pgCZ_arI/AAAAAAAABGs/uORUt6RdFb0/s640/Capture2.JPG
to enable the Auto reply and schedule between 07/04/2013 till 08/04/2013
Set-MailboxAutoReplyConfiguration -AutoReplyState scheduled -Identity Rahmat.fedayizada -StartTime 07/04/2013 -EndTime 08/04/2013 |
http://2.bp.blogspot.com/-aPdlP0QRkxY/UV_slzf6kVI/AAAAAAAABHM/0hW9xU3UUkw/s640/Capture5.JPG
to modify the message body for internal users to extend the date from 12th to 18th of Nov
Set-MailboxAutoReplyConfiguration -Identity Rahmat.fedayizada -InternalMessage "<html>
<body>
Hello! Thank you for your message. I’m currently on leave with no access to mail. I will be returning on 18th Nov 2012.
</body>
</html>"
http://4.bp.blogspot.com/-dz3rYnRtzD8/UV_qOuWWOGI/AAAAAAAABG0/boJHgq2a3ro/s640/Capture3.JPG
and the same for External Users
Set-MailboxAutoReplyConfiguration -Identity rahmat.fedayizada -ExternalMessage "<html>
<body>
Hello! Thank you for your message. I’m currently on leave with no access to mail. I will be returning on 12th Nov 2012.
</body>
</html>"
http://4.bp.blogspot.com/-RqulPea5AM0/UV_qpSowkuI/AAAAAAAABHA/91ZGdCaVwIU/s640/Capture4.JPG
now the Auto reply has been updated with out logging in to the user account!!