Set entire AD OU of room resources to AutoAccept
Got an entire OU of rooms that you need to enable AutoAccept for meetings? Ahhh, the beauty of PowerShell:
get-mailbox -organizationalUnit "Specify-OU-Name-Here" | where-object{$_.ResourceType -eq "Room"} | set-MailboxCalendarSettings -AutomateProcessing:AutoAccept
Every mailbox in the specified OU that has a ResourceType equal to "Room" will now be set to AutoAccept.
To confirm that all of the rooms were changed/updated, type the following command:
get-mailboxcalendarsettings -organizationalUnit "Specify-OU-Name-Here" |fl
The "AutomateProcessing" variable (listed first in each sub-item grouping) should be set to "AutoAccept" for all of the rooms returned in the search.
Techiedude Jan-07-2008
|