Room Mailbox office365 powershell commands

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

Vamshi B

Recent Posts

How to install Firefox browser using Powershell

How to install of FireFox browser using PowerShell Sometimes you would like to install Firefox…

3 years ago

How to install chrome with Powershell?

Quick way to install chrome on windows with Powershell? Launch the Powershell and run below…

3 years ago

How to Fix PowerShell Script Not Digitally Signed Error?

How to Fix PowerShell Script Not Digitally Signed Error? When a script with a .ps1…

3 years ago

Powershell Cheat Sheet for beginners

Powershell Cheat Sheet for beginners PowerShell has become something of an ace in the hole…

3 years ago

Can you use Linux commands in Powershell?

Today we discuss one of a few questions a lot of sysadmins and IT Admins…

3 years ago

Backing Up an SQL Database with PowerShell

Backing Up an SQL Database with PowerShell Before making any changes in the production environment,…

3 years ago

This website uses cookies.