PowerShell CMDlets: How to Configure Global Calendar Settings in Exchange

Home/Exchange Server/PowerShell CMDlets: How to Configure Global Calendar Settings in Exchange

PowerShell CMDlets: How to Configure Global Calendar Settings in Exchange

Set Work Days and Working Hours for All Users
[code language=”css”]
Get-Mailbox -Filter {RecipientTypeDetails -eq ‘UserMailbox’} | Set-MailboxCalendarConfiguration -WorkingHoursStartTime 08:00:00 -WorkingHoursEndTime 18:00:00 -ScheduleOnlyDuringWorkHours $false -WorkDays Sunday,Monday,Tuesday,Wednesday,Thursday -WeekStartDay Sunday
[/code]

Set Work Days and Working Hours for All Room Mailboxes
[code language=”css”]
Get-Mailbox -Filter {RecipientTypeDetails -eq ‘RoomMailbox’} | Set-MailboxCalendarConfiguration -WorkingHoursStartTime 08:00:00 -WorkingHoursEndTime 18:00:00 -ScheduleOnlyDuringWorkHours $false -WorkDays Sunday,Monday,Tuesday,Wednesday,Thursday -WeekStartDay Sunday
[/code]

Please feel free to share.
By | 2013-08-19T08:18:20+00:00 August 19th, 2013|Exchange Server|0 Comments

About the Author:

Leave A Comment