Set Mailbox Display Name with PowerShell

Logan Jul 18, 2026

Are you looking to change the display name for your mailbox in Microsoft Exchange or Office 365? While there isn't a direct graphical user interface (GUI) option for this, you can use PowerShell to achieve this task. PowerShell is a powerful shell and scripting language used for managing and automating Microsoft Windows and other technologies. Let's guide you through the process of setting your mailbox display name using PowerShell.

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

Before we proceed, ensure you have the necessary permissions to run these commands. You'll need the Remote Server Administration Tools (RSAT) for PowerShell and the Exchange Online PowerShell V2 module if you're working with Office 365.

10 Extremely Unique Coolest Mailbox Ideas - Yours Crafts
10 Extremely Unique Coolest Mailbox Ideas - Yours Crafts

Accessing Exchange Online PowerShell

Here's how you can connect to your Exchange Online PowerShell. Ensure you're running the commands with elevated privileges.

a black computer desk with the words dream mailboxes on it's side
a black computer desk with the words dream mailboxes on it's side

First, install the Exchange Online PowerShell V2 module if you haven't already. You can do this by running 'Install-Module -Name ExchangeOnlineManagement'. Then, connect to Exchange Online PowerShell by running:

Connect-ExchangeOnline -UserPrincipalName your-email@example.com

📬 ON SALE NOW! Modern design at the edge of your property
📬 ON SALE NOW! Modern design at the edge of your property

Replace 'your-email@example.com' with your actual email address. Once connected, you can see the connected user and tenant details using the Get-PSSession cmdlet.

Setting Mailbox Display Name

Now that you're connected, you can set your mailbox display name. Use the Set-Mailbox cmdlet with the -DisplayName parameter. The display name should be in quotation marks. Here's an example:

Custom Mailbox Covers Magnetic Standard Size Personalized with Last Name Number Address Mail Box Covers for Outdoor Post Letter Box Wraps for Home
Custom Mailbox Covers Magnetic Standard Size Personalized with Last Name Number Address Mail Box Covers for Outdoor Post Letter Box Wraps for Home

Set-Mailbox -Identity user@example.com -DisplayName "FirstName LastName"

Replace 'user@example.com' with the email address of the mailbox you want to change and 'FirstName LastName' with the display name you want to set.

Verifying the Change

a mailbox with the letter m on it
a mailbox with the letter m on it

To verify that the display name has been changed, you can use the Get-Mailbox cmdlet. Here's an example:

Get-Mailbox -Identity user@example.com | Select-Object DisplayName

24 Mailbox Ideas to Spruce Up Your Curb Appeal
24 Mailbox Ideas to Spruce Up Your Curb Appeal
Custom Mailbox Address Decal, Personalized Last Name Street Address Sticker, Mail Box Vinyl Decals, Exterior Home Decoration | MakerPlace by Michaels
Custom Mailbox Address Decal, Personalized Last Name Street Address Sticker, Mail Box Vinyl Decals, Exterior Home Decoration | MakerPlace by Michaels
a white and black box with numbers on it in front of some rocks, plants and trees
a white and black box with numbers on it in front of some rocks, plants and trees
Find Your Favorite Combo
Find Your Favorite Combo
Postal Pro The Estate Mailbox Post with Planter 4 x 4 White Polymer Pyramid Mount Mailbox Post Lowes.com
Postal Pro The Estate Mailbox Post with Planter 4 x 4 White Polymer Pyramid Mount Mailbox Post Lowes.com
21 Mailbox Ideas to Elevate Your Curb Appeal and Showcase Your Style
21 Mailbox Ideas to Elevate Your Curb Appeal and Showcase Your Style
Mail Boss Mail Manager PRO Security Locking Mailbox
Mail Boss Mail Manager PRO Security Locking Mailbox
Mailbox Address Number Plate 3 With Brass Numbers | Rust-proof Cast Aluminum, Hardware Included, 5 Digits/side, 13 5/8″ Mounting Holes - Etsy
Mailbox Address Number Plate 3 With Brass Numbers | Rust-proof Cast Aluminum, Hardware Included, 5 Digits/side, 13 5/8″ Mounting Holes - Etsy
a pink mailbox mounted to the side of a white stucco wall with an emblem on it
a pink mailbox mounted to the side of a white stucco wall with an emblem on it

This command will display the current display name for the specified mailbox.

Setting Mailbox Display Name Locally on a Windows Server

If you're working with an on-premises Exchange server, the process is similar but uses the Exchange Management Shell instead.

First, open the Exchange Management Shell as an administrator. Then, use the Set-Mailbox cmdlet as described in the previous section. Here's an example:

Set-Mailbox -Identity user@example.com -DisplayName "FirstName LastName"

Updating the Address Book

After changing the display name, you might want to update the address book to reflect these changes. You can do this using the Update-AddressList Statistics cmdlet. Here's an example:

Update-AddressList Statistics -Server ServerName

Replace 'ServerName' with the name of your Exchange server.

Verifying the Local Change

To verify the local change, you can use the Get-Mailbox cmdlet as described in the previous section.

And there you have it! You've successfully changed your mailbox display name using PowerShell. This skill can save you time and manual labor, making managing your mailboxes more efficient. Happy scripting!