Tag Archives: Outlook
Set Out Of Office message and mail forward for a user on Exchange 2010
Set Out Of Office message for a user on Exchange 2010
See current OOF configuration for user:
Get-MailboxAutoReplyConfiguration testuser
RunspaceId : 9260623c-85bf-4c19-8e1a-b08b8cbb1ef9
AutoReplyState : Disabled
EndTime : 4. 7. 2014 8:00:00
ExternalAudience : All
ExternalMessage :
InternalMessage :
StartTime : 3. 7. 2014 8:00:00
MailboxOwnerId : test.cz/xx/testuser
Identity : test.cz/xx/testuser
IsValid : True
Set OOF message:
Set-MailboxAutoReplyConfiguration -Identity testuser –AutoReplyState Scheduled –StartTime "
7/3/2014" –EndTime "7/4/2014" –ExternalMessage “External OOF message here” –InternalMessage “Internal OOF message here”
now see the config again:
Get-MailboxAutoReplyConfiguration testuser
RunspaceId : 9260623c-85bf-4c19-8e1a-b08b8cbb1ef9
AutoReplyState : Scheduled
EndTime : 4. 7. 2014 0:00:00
ExternalAudience : All
ExternalMessage :
External OOF message here
InternalMessage :
Internal OOF message here
StartTime : 3. 7. 2014 0:00:00
MailboxOwnerId : test.cz/xx/testuser
Identity : test.cz/xx/testuser
IsValid : True
to set forwarding use:
Set-Mailbox -Identity "Dan Park" -ForwardingAddress "danpark.parents@fineartschool.net" -DeliverToMailboxAndForward $true
Set-Mailbox -Identity "Dan Park" -ForwardingAddress "danpark.parents@fineartschool.net"
to stop forwarding use:
Set-Mailbox -DeliverToMailboxAndForward $false -ForwardingAddress $null -Identity testUser
Sources: http://technet.microsoft.com/en-us/library/dd351134(v=exchg.150).aspx