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.

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.

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

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

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:

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

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









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!