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]