Forum Discussion
Migrating On-Prem Distribution Groups to Exchange Online in Hybrid Mode
Get-DistributionGroupMember -Identity MyGroup | Select DisplayName, PrimarySmtpAddress | Export-CSV -NoTypeInformation c:\temp\DL.csv
Something like that...
TonyRedmondgreat! thanks for fast reply! I'll give that try right now. By any chance do you know what it is for writing it or the Exchange Online side?
If not I'll open a case. Thanks again!
- spadge007Oct 08, 2020Copper Contributor
This thread has been a big help as I am planning this currently.
Would anyone be willing to share their script or know of a script which I can amend and use?
I have a hybrid environment with Exchange 2010 and 2016. 2016 installed to setup the hybrid environment. All user & shared mailboxes etc have been migrated from 2010 to Exchange Online (EOL). Eventually I would like to fully retire on-premises exchange. All objects from on-prem to EOL are synced via Azure AD Sync.
I am not proficient in PowerShell so any pointers would be a great help.
- TonyRedmondJun 04, 2020MVP
Jason-EV It works for either on-premises or online.