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

Advertisements