Kernel Data Recovery Blog

Convert Exchange Mailbox Type Using Exchange Shell Commands

Read time 2 minutes

Summary: The Exchange Management Shell allows seamless transitions between different mailbox types, including user, shared, room, and equipment mailboxes. This is achieved using the “Set-Mailbox” command, providing flexibility in managing communication and resource allocation within the Exchange environment.

In the Exchange environment, it is entirely feasible to transition from one mailbox type to another, and this process can be efficiently executed using the “Set-Mailbox” command within the Exchange Management Shell. Below, you will find a list of the various types of mailboxes that can be converted in Exchange:

In the Exchange Shell, you have the capability to execute various types of conversions through a range of commands:

Convert the mailbox using Exchange Management Shell

To convert the type of mailbox and its password, use the following cmdlet–

Set-Mailbox -Identity <MailboxIdentity> -Type <Regular | Room | Equipment | Shared> [-Password (ConvertTo-SecureString -String ‘<Password>’ -AsPlainText -Force)] [-EnableRoomMailboxAccount <$true | $false> [-RoomMailboxPassword (ConvertTo-SecureString -String ‘<Password>’ -AsPlainText -Force)] [-ResetPasswordOnNextLogon <$true | $false>]

For example:

Set-Mailbox -Identity “DB022121” -Type Shared [-Password (ConvertTo-SecureString – String ‘12345’)] [-ResetPasswordOnNextLogon <$true>]

To change the type of the mailbox only –

Set-Mailbox -Identity “DB43232324” -Type Shared

Conclusion

In Exchange, you can efficiently change mailbox types using the “Set-Mailbox” command in Exchange Management Shell. This includes user, shared, room, and equipment mailboxes. Administrators can convert between these types using specific commands, enhancing mailbox versatility and collaboration.