Room Mailbox office365 powershell commands

Clear2all Professional Blog new

Resource Mailbox is a type of Mailbox that is used for the management of Meeting Rooms and Equipment.
The Resource Mailbox do not require a license.
Management of Resource Mailbox can be done using following options:

Self-management – the Resource Mailbox will be configured for automation of accepting or decline meeting requests.
Resource Mailbox Delegate – The delegate is the person that will accept the meeting requests and approve or decline the meeting requests.

The resource Mailbox includes two types of Mailboxes – Room Mailbox and Equipment Mailbox.

1. Creating Room (Resource) Mailbox
PowerShell command syntax

New-Mailbox -Name "" -Room
or
New-Mailbox -Name "" -Equipment

2. Booking options: Enable Automatic Booking for a Room Mailbox
Set-CalendarProcessing "" -AutomateProcessing AutoAccept

3.Booking options: Enable Automatic Booking for all Resource Mailbox (Bulk Mode)
Get-MailBox | Where {$_.ResourceType -eq "Room"} | Set-CalendarProcessing -AutomateProcessing:AutoAccept

4. Booking options: Assign approving delegate (Room Mailbox Calendar)
Set-CalendarProcessing "" –ResourceDelegates ""

5.Assign Room Mailbox Manager Full Access permission
Add-MailBoxPermission "" -User "" -AccessRights FullAccess

6.Assign Room Mailbox Manager -Assigning Send As permission
Add-RecipientPermission "" -Trustee "" -AccessRights SendAs -Confirm:$False

7.Set the default permission of Calendar to: Publishing Editor
Set-MailBoxFolderPermission "" –User default –AccessRights PublishingEditor

8.Allow conflict meetings when using the option of Automatic Booking
Set-CalendarProcessing "" -AllowConflicts $True

9.For Displaying list of Room Mailboxes
Get-Mailbox -Filter '(RecipientTypeDetails -eq "RoomMailBox")' | Select Name,Alias

10.For Displaying list of Equipment Mailboxes
Get-Mailbox -Filter '(RecipientTypeDetails -eq "EquipmentMailBox")' | Select Name,Alias
Display Room Mailbox Calendar Settings

Get-Mailbox "" | Select ResourceType, RejectMessagesFrom,RejectMessagesFromDLMembers,RejectMessagesFromSendersOrMembers,SendModerationNotifications

Get-Mailbox "RoomResource" | Select ResourceType, RejectMessagesFrom,RejectMessagesFromDLMembers,RejectMessagesFromSendersOrMembers,SendModerationNotifications

11.Display Room MailBox : Calendar Processing Settings

Get-Mailbox "" | Get-CalendarProcessing | FL

Get-Mailbox "RoomResource" | Get-CalendarProcessing | FL

12.Display Room Mailbox Permissions: Moderated By

Get-Mailbox | FL -Property ModerationEnabled ,ModeratedBy,GrantSendOnBehalfTo –AutoSize

Get-Mailbox "RoomResource" | FL -Property ModerationEnabled ,ModeratedBy,GrantSendOnBehalfTo –AutoSize

13.Display Room Mailbox : Calendar Permission

Get-MailBoxFolderPermission | Select FolderName,User,AccessRights

Get-MailBoxFolderPermission "RoomResource:\Calendar" | Select FolderName,User,AccessRights

14.For General settings for Resource Mailbox
Set-CalendarProcessing -AddOrganizerToSubject $True -DeleteComments $False -DeleteSubject $False

Set-CalendarProcessing "RoomResource" -AddOrganizerToSubject $True -DeleteComments $False -DeleteSubject $False

Set the Room Calendar to show “limited details”

Set-MailBoxFolderPermission -AccessRights LimitedDetails -User default

Set-MailBoxFolderPermission -AccessRights LimitedDetails "RoomResource":\Calendar -User default

Configure Booking Window In Days

Get-Mailbox | Set-CalendarProcessing -BookingWindowInDays

Get-MailBox "RoomResource" | Set-CalendarProcessing -BookingWindowInDays 200

15.Display “Booking Window In Days” Settings of a Room Mailbox

Get-Mailbox | Get-CalendarProcessing | FL Identity,BookingWindowInDays

Get-Mailbox "RoomResource" | Get-CalendarProcessing | FL Identity,BookingWindowInDays

16.Create a new Room list

New-DistributionGroup -Name -RoomList

New-DistributionGroup -Name "RoomResource" -RoomList

17.For Converting a Mailbox to Room Mailbox

Set-Mailbox -Type Room

Set-Mailbox "user" -Type Room

18.Convert Room Mailbox to Regular Mailbox

Get-Mailbox | Set-Mailbox -Type Regular

Get-Mailbox "RoomResource" | Set-Mailbox -Type Regular

Leave a Reply

Your email address will not be published. Required fields are marked *