Exchange to Office365

Clear2all Professional Blog new

Restrict a Distribution List to internal users only

Restrict a Distribution List to internal users only

For restricting Distribution list to internal users only we need to set that attribute msExchRequireAuthToSendTo to TRUE in your on-premise AD environment and wait for DirSync to run.

This will make the DL in the Administration Center to untick the ‘allow external senders’ box on the DL’s and prevent any external senders from sending to those distribution lists.… Read the rest

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 to a csv file

$CSV Read the rest