Change a resource mailbox booking window in Exchange 2010

This is a follow-up on my post on the same topic for Exchange 2007. This post will explain how to change the Booking Windows for a resource mailbox in Exchange Server 2010. This value is set to 180 days by default and many organizations find this a bit low.

In Exchange Server 2010 we use the following command to change this setting:
Set-CalendarProcessing "<ResourceMailboxName>" -BookingWindowInDays <NumberOfDays>

Example:
Set-CalendarProcessing "test3" -BookingWindowInDays 365

Calendarprocessing1

If you want to set this for all room mailboxes at once use the following command:
Get-Mailbox | Where {$_.RecipientTypeDetails -eq "RoomMailbox"} | Set-CalendarProcessing -BookingWindowInDays 365

Calendarprocessing2

You can verify the settings using the following commands:
Get-CalendarProcessing "test3" | FL Identity,BookingWindowInDays

Calendarprocessing3

For all room mailboxes:
Get-Mailbox | Where {$_.RecipientTypeDetails -eq "RoomMailbox"} | Get-CalendarProcessing | FL Identity,BookingWindowInDays

Calendarprocessing4

Thanks for reading, let me know if you have any questions!

My post on the same topic for Exchange 2007 can be found here!

Advertisements

Change a resource mailbox booking window in Exchange 2007

Here is a quick tip on how to change the Booking Windows for a resource mailbox in Exchange Server 2007. This value is set to 180 days by default and many organizations find this a bit low.

To change this value use the following command:
Set-MailboxCalendarSettings "<ResourceMailboxName>" -BookingWindowInDays <NumberOfDays>

Example:
Set-MailboxCalendarSettings "test3" -BookingWindowInDays 365

If you want to set this for all room mailboxes at once use the following command:
Get-Mailbox | Where {$_.RecipientTypeDetails -eq "RoomMailbox"} | Set-MailboxCalendarSettings -BookingWindowInDays 365

Thanks for reading, let me know if you have any questions!

My post on the same topic for Exchange 2010 can be found here!

Prevent double bookings of resources in Exchange 2007 and 2010

Exchange 2007

This is easily done with powershell. Use the following syntax to set AllowConflicts to $false:

Set-MailboxCalendarSettings -Identity <mailbox identity> -AllowConflicts:$false

If you want to set this on all room mailboxes in one command use the following:

Get-Mailbox | where {$_.ResourceType -eq “Room” } | Set-MailboxCalendarSettings -AllowConflicts:$false

To check that this actually worked you can use the following command:

Get-MailboxCalendarSettings -Identity <mailbox identity> | fl

Confirm that AllowConflicts is set to $false.

Exchange 2010

In Exchange 2010 the MailboxCalendarSettings har been removed and you should use Set-CalendarProcessing instead:

Set-CalendarProcessing -Identity <mailbox identity> -AllowConflicts:$false

If you want to set this on all room mailboxes in one command use the following:

Get-Mailbox | where {$_.ResourceType -eq “Room” } | Set-CalendarProcessing -AllowConflicts:$false

And to make sure that it worked:

Get-CalendarProcessing -Identity <mailbox identity> | fl