Manage Room Mailbox by using PowerShell
In the current article, we will review how to use PowerShell commands for managing Room mailbox in Exchange Online environment.
Resource Mailbox is a special type or a Mailbox that uses for the management of meeting Rooms and Equipment.
The Resource Mailbox doesn’t require a license.
Management of Resource Mailbox could be implemented by using one of the following options:
The Resource Mailbox doesn’t require a license.
Management of Resource Mailbox could be implemented by using one of the following options:
- Self-management – the Resource Mailbox will be configured for automation of accepting meeting requests (or decline meeting request if a former meeting request was already set).
- Resource Mailbox delegate – The delegate is the person that will accept the meeting requests and approve or decline the meeting requests.
The term “resource Mailbox” includes two types of Mailboxes – Room Mailbox and Equipment Mailbox.
There is a small difference between the two types of the resource mailbox but the use, and the purpose are quite similar (most of the examples will relate to room Mailbox).
A Little confession: I must admit that it wasn’t easy to give up the strong need for naming these articles: Get a Room!
(But I know that this is a “serious” WebSite and, for this reason, I use a formal name).
(But I know that this is a “serious” WebSite and, for this reason, I use a formal name).
PowerShell | Help & additional information
In case that you are a novice in the PowerShell environment, you can use the following link to get more information about the “first steps” such as: downloading the required PowerShell
software components, how to use the PowerShell console, running a PowerShell script, etc.
software components, how to use the PowerShell console, running a PowerShell script, etc.
Read more
1. Creating Resource Mailbox
1.1 – Creating resource Mailbox
PowerShell command Syntax
1
|
New-Mailbox -Name "<Identity>" -Room
|
PowerShell command Example
1
|
New-MailBox -Name "FL ROOM1" -Room
|
1.2 – Create new Equipment Mailbox
PowerShell command Syntax
1
|
New-Mailbox -Name "<Name>" -Equipment
|
PowerShell command Example
1
|
New-Mailbox -Name "Projector 01" -Equipment
|
2. Room Mailbox Management
2.1 – Booking options: Enable Automatic Booking for a Room Mailbox
PowerShell command Syntax
1
|
Set-CalendarProcessing "<Identity>" -AutomateProcessing AutoAccept
|
PowerShell command Example
1
|
Set-CalendarProcessing "FL ROOM1" -AutomateProcessing AutoAccept
|
2.2 – Booking options: Enable Automatic Booking for all Resource Mailbox (Bulk Mode)
PowerShell command Syntax
1
|
Get-MailBox | Where {$_.ResourceType -eq "Room"} | Set-CalendarProcessing -AutomateProcessing:AutoAccept
|
2.3 – Booking options: Assign approving delegate (Room Mailbox Calendar)
PowerShell command Syntax
1
|
Set-CalendarProcessing "<Identity>" –ResourceDelegates "<Identity>"
|
PowerShell command Example
1
|
Set-CalendarProcessing "FL ROOM1" –ResourceDelegates "John"
|
2.4 – Assign Room Mailbox Manager Full Access permission)
PowerShell command Syntax
1
|
Add-MailBoxPermission "<Identity>" -User "<Identity>" -AccessRights FullAccess
|
PowerShell command Example
1
|
Add-MailBoxPermission "FL ROOM1" -User "John" -AccessRights FullAccess
|
2.5 – Assign Room Mailbox Manager -Assigning Send As permission
PowerShell command Syntax
1
|
Add-RecipientPermission "<Identity>" -Trustee "<Identity>" -AccessRights SendAs -Confirm:$False
|
PowerShell command Example
1
|
Add-RecipientPermission "FL ROOM1" -Trustee "John" -AccessRights SendAs -Confirm:$False
|
2.6 – Set the default permission of Calendar to: Publishing Editor
PowerShell command Syntax
1
|
Set-MailBoxFolderPermission "<Room:\Calendar>" –User default –AccessRights PublishingEditor
|
PowerShell command Example
1
|
Set-MailBoxFolderPermission "FL-ROOM1:\Calendar" –User default –AccessRights PublishingEditor
|
2.7 – Allow conflict meetings when using the option of Automatic Booking
PowerShell command Syntax
1
|
Set-CalendarProcessing "<Room name>" -AllowConflicts $True
|
PowerShell command Example
1
|
Set-CalendarProcessing "FL-ROOM1" -AllowConflicts $True
|
3. Display Information About Room Mailbox
3.1 – Display list of Room + Equipment Mailboxes
Display list of Room Mailboxes
PowerShell command Syntax
1
|
Get-Mailbox -Filter '(RecipientTypeDetails -eq "RoomMailBox")' | Select Name,Alias
|
Display list of Equipment Mailboxes
PowerShell command Syntax
1
|
Get-Mailbox -Filter '(RecipientTypeDetails -eq "quipmentMailBox")' | Select Name,Alias
|
3.2 – Display Room Mailbox Calendar Settings
PowerShell command Syntax
1
|
Get-Mailbox "<Identity>" | Select ResourceType, RejectMessagesFrom,RejectMessagesFromDLMembers,RejectMessagesFromSendersOrMembers,SendModerationNotifications
|
PowerShell command Example
1
|
Get-Mailbox "FL ROOM1" | Select ResourceType, RejectMessagesFrom,RejectMessagesFromDLMembers,RejectMessagesFromSendersOrMembers,SendModerationNotifications
|
3.3 – Display Room MailBox : Calendar Processing Settings
PowerShell command Syntax
1
|
Get-Mailbox "<Identity>" | Get-CalendarProcessing | FL
|
PowerShell command Example
1
|
Get-Mailbox "FL ROOM1" | Get-CalendarProcessing | FL
|
3.4 – Display Room Mailbox Permissions: Moderated By
PowerShell command Syntax
1
|
Get-Mailbox <Room Name> | FT -Property ModerationEnabled ,ModeratedBy,GrantSendOnBehalfTo –AutoSize
|
PowerShell command Example
1
|
Get-Mailbox "FL ROOM1" | FT -Property ModerationEnabled ,ModeratedBy,GrantSendOnBehalfTo –AutoSize
|
3.5 – Display Room Mailbox : Calendar Permission
PowerShell command Syntax
1
|
Get-MailBoxFolderPermission <Room:\Calendar> | Select FolderName,User,AccessRights
|
PowerShell command Example
1
|
Get-MailBoxFolderPermission "FL-ROOM1:\Calendar" | Select FolderName,User,AccessRights
|
4. General Settings For Resource Mailbox
4.1 – Set the Room Calendar to show the ‘Organizer’ and ‘Subject’ of the meeting
PowerShell command Syntax
1
|
Set-CalendarProcessing <Room Name> -AddOrganizerToSubject $True -DeleteComments $False -DeleteSubject $False
|
PowerShell command Example
1
|
Set-CalendarProcessing "FL ROOM1" -AddOrganizerToSubject $True -DeleteComments $False -DeleteSubject $False
|
4.2 – Set the Room Calendar to show ‘limited details’
PowerShell command Syntax
1
|
Set-MailBoxFolderPermission -AccessRights LimitedDetails <Room:\Calendar> -User default
|
PowerShell command Example
1
|
Set-MailBoxFolderPermission -AccessRights LimitedDetails "FL ROOM1":\Calendar -User default
|
4.3 – Configure Booking Window In Days
PowerShell command Syntax
1
|
Get-Mailbox <Room:\Calendar> | Set-CalendarProcessing -BookingWindowInDays
|
PowerShell command Example
1
|
Get-MailBox "FL ROOM1" | Set-CalendarProcessing -BookingWindowInDays 200
|
4.4 – Display “Booking Window In Days” Settings of a Room Mailbox
PowerShell command Syntax
1
|
Get-Mailbox <Room:\Calendar> | Get-CalendarProcessing | FL Identity,BookingWindowInDays
|
PowerShell command Example
1
|
Get-Mailbox "FL ROOM1" | Get-CalendarProcessing | FL Identity,BookingWindowInDays
|
4.5 – Create a new Room list
PowerShell command Syntax
1
|
New-DistributionGroup -Name <Group Name> -RoomList
|
PowerShell command Example
1
|
New-DistributionGroup -Name "FL ROOM1" -RoomList
|
5. Convert Mailbox
5.1 – Convert Regular Mailbox to Room Mailbox
PowerShell command Syntax
1
|
Set-Mailbox <Identity> -Type Room
|
PowerShell command Example
1
|
Set-Mailbox "John" -Type Room
|
5.2 – Convert Room Mailbox to Regular Mailbox
PowerShell command Syntax
1
|
Get-Mailbox <Room:\Calendar> | Set-Mailbox -Type Regular
|
PowerShell command Example
1
|
Get-Mailbox "FL ROOM1" | Set-Mailbox -Type Regular
|
Commenti
Posta un commento