Change Shared Mailbox Name with PowerShell: A Step-by-Step Guide

Logan Jul 18, 2026

In the dynamic world of Microsoft 365, shared mailboxes often play a pivotal role in team collaboration. Yet, there may come a time when you need to change the shared mailbox name for organizational purposes or to reflect team changes. While Microsoft provides a user-friendly interface, PowerShell offers a more efficient way to manage multiple mailboxes. Let's delve into the process of altering a shared mailbox name via PowerShell, ensuring our approach is both accurate and time-saving.

Exchange 2007 - Change a Shared Mailbox to User Mailbox
Exchange 2007 - Change a Shared Mailbox to User Mailbox

Before we embark on this technical journey, let's ensure you have the necessary permissions to modify shared mailbox properties. You will need to be an administrator or assigned specific roles with permissions to manage shared mailboxes. Additionally, you'll need PowerShell and the Exchange Online PowerShell V2 module installed. If you haven't installed it yet, you can do so using the command Install-Module -Name ExchangeOnlineManagement.

40 House Number Ideas To Enhance Your Curb Appeal
40 House Number Ideas To Enhance Your Curb Appeal

Connect to Exchange Online PowerShell

To interact with Exchange Online, your first step is to establish a secure remote session with the Exchange Online PowerShell. Launch your PowerShell session and run the following command:

Personalized Mailbox Cover with Family Name - Custom Monogram Address Mailbox Decor
Personalized Mailbox Cover with Family Name - Custom Monogram Address Mailbox Decor

$UserCredential = Get-Credential
This command prompts you for your credentials. Be sure to enter your primary admin account's credentials.

Export the Shared Mailbox before Making Changes

a wooden mailbox with numbers on it in front of a tree and grass area
a wooden mailbox with numbers on it in front of a tree and grass area

Before changing any mailbox properties, it's an excellent practice to export the shared mailbox to preserve data integrity. You can do this using the Export-Mailbox cmdlet. For instance, to export a shared mailbox named 'Helpdesk' to a PST file, run:

Export-Mailbox -Identity "Helpdesk" -Path \\Server\Share\helpdesk.pst -AutoMapping

Change the Shared Mailbox Name via PowerShell

a black mailbox with the words thank you have a great day written on it
a black mailbox with the words thank you have a great day written on it

Now, you're ready to change the shared mailbox name. For this, you'll use the Set-Mailbox cmdlet. Suppose you want to rename 'Helpdesk' to 'Support'. You would enter:

Set-Mailbox -Identity "Helpdesk" -Name "Support" - Shared -Alias "Support"

In this command, replace the identities, names, and aliases as per your requirements. After executing this command, the shared mailbox 'Helpdesk' will be renamed to 'Support'.

Personalized Mailbox Decal with Family Name & Address, Waterproof Vinyl Decal
Personalized Mailbox Decal with Family Name & Address, Waterproof Vinyl Decal

Verify the Shared Mailbox Renaming

Post-execution, it's crucial to verify the shared mailbox name change. You can do this using the Get-Mailbox cmdlet. To check if the 'Support' mailbox exists, run:

24 Mailbox Ideas to Spruce Up Your Curb Appeal
24 Mailbox Ideas to Spruce Up Your Curb Appeal
a black mailbox with the words, the blantenships on it
a black mailbox with the words, the blantenships on it
Personalized Ornament Mailbox Decal: Address Numbers, Street Name Vinyl
Personalized Ornament Mailbox Decal: Address Numbers, Street Name Vinyl
an image of a wooden mailbox with the number 3500 on it's side
an image of a wooden mailbox with the number 3500 on it's side
Mailbox Last Name and Address Decal
Mailbox Last Name and Address Decal
26 Unique Mailbox Ideas Coastal & Nautical Style
26 Unique Mailbox Ideas Coastal & Nautical Style
two mailboxes sitting on top of a white bench in front of a house
two mailboxes sitting on top of a white bench in front of a house
a mailbox with the word thank you written on it
a mailbox with the word thank you written on it
Personalized Engraved Black Mailbox Plate | Custom Metal Mailbox Name Plate | Weatherproof Mailbox Sign | Custom Family Name Mailbox Sign
Personalized Engraved Black Mailbox Plate | Custom Metal Mailbox Name Plate | Weatherproof Mailbox Sign | Custom Family Name Mailbox Sign

Get-Mailbox -Identity "Support"

The output will display the mailbox details, confirming the name change.

Rename the Mailbox in the Exchange Admin Center

After successfully renaming the mailbox using PowerShell, ensure the change is reflected in the Exchange Admin Center. To check this:

  1. Navigate to the Exchange Admin Center.
  2. Click on recipients.
  3. Under mailboxes, look for the renamed mailbox (Support).

If your change is reflected here, you've successfully renamed your shared mailbox using PowerShell.

Bingo! You've now mastered the intricacies of changing a shared mailbox name via PowerShell. Whether you're a seasoned administrator or just starting with PowerShell, these steps will serve you well. Enjoy your enhanced productivity and control over your Microsoft 365 environment. Happy managing!