powershell

Clear2all Professional Blog new

Checking Exchange GUID while migrating mailbox Exchange to Office365

Checking Exchange GUID while migrating mailbox Exchange to Office365

Below commands can be really helpful while exchange 2010 to office 365 migration.

Below command to import the csv file with names and email addresses of users to be checked.

$CSV = Import-CSV C:\Temp\spotcheck.csv

Below command to display names, email addresses,GUID etc of users to be checked.

$CSV | foreach { get-mailuser -identity $_.mail | fl DisplayName, WindowsEmailAddress, PrimarySmtpAddress, RecipientType, ExternalEmailAddress, ExchangeGuid}

Below command to display names, email addresses,GUID etc of users to be checked exported Read the rest

Clear2all Professional Blog new

Change UPN on Office365 manually using Powershell

Change UPN on Office365 manually using Powershell

In some circumstances the UPN changes on on-premise do not get updated to Azure/Office365. If you are syncing from your on-premise AD then updating the UPN in Azure using powershell is going to get overwritten the next time that your sync process runs but in a situation where its changed to correct value then it will just be replaced by same value. This manual process can be used for speeding up the change or making the change if sync is unsuccessful.

If I have understood the question correctly then by updating the UPN … Read the rest