To turn Out of Office off use -AutoreplyState disabled and to turn it on, use -AutoReplyState enabled: Set-MailboxAutoRepl圜onfiguration –identity alias –EndTime " 11:00 AM" If you use just the date you don’t need to enclose it in quotes, but need to use quotes if you include the time. To change the dates, use the StartTime and EndTime parameters. In addition to getting the start and end times, you can also change the out of office settings for any user using the Set-MailboxAutoRepl圜onfiguration cmdlet. Get-MailboxAutoRepl圜onfiguration -identity alias To see the details for a specific user, use this cmdlet: Get-Mailbox -ResultSize Unlimited | Get-MailboxAutoRepl圜onfiguration | Where-Object | Select Identity,StartTime,EndTime,AutoReplyState | Export-CSV OutOfOffice.csv -NoTypeInformation For a simple list of start and end times for all users, use this cmdlet.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |