July 2017
Beginner
222 pages
5h 2m
English
Although not technically challenging, setting out-of-office settings is worth reviewing since it is such a common activity. Interestingly, some of the settings available in PowerShell are not available through the user interface.
In this example, we schedule the out-of-office setting to be enabled within a start and end time. External and internal messages are used when replying to contacts outside and inside the organization:
$startTime = Get-Date$endTime = (Get-Date).AddDays(10)$externalMessage = "Please contact support@email for assistance"$internalMessage = "I'm out of the office for 10 days"Set-MailboxAutoReplyConfiguration -Identity test2 -AutoReplyState Scheduled -StartTime $startTime -EndTime $endTime -CreateOOFEvent ...
Read now
Unlock full access