Steps to update Alias

 

Steps to update Alias

Step 1: Open Exchange Management Shell

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri http://s-exhybrid1.xyz.com/PowerShell/ -Authentication Kerberos -Credential $UserCredential

Import-PSSession $Session -DisableNameChecking

 


Step 2: Run the Command to Update Alias

Use the following command, replacing the placeholders with actual user details:

Set-RemoteMailbox -Identity "current.username@domain.com-Alias "newalias"

 

Parameters:

-Identity: The current user’s email or username.

-Alias: The new alias you want to assign.


Step 3: Verify the Change

To confirm the alias has been updated:

 

Get-RemoteMailbox -Identity "john.doe@company.com" | Select Name, Alias

No comments: