Forum Discussion
Mark Dobrzynski
Nov 07, 2016Copper Contributor
Migrating On-Prem Distribution Groups to Exchange Online in Hybrid Mode
I have come across a number of articles on migrating distribution groups to Office 365 when you're not in hybrid mode. My situation is having hundreds of DLs on my on-prem Exchange environment that I...
Jason-EV
Jun 04, 2020Copper Contributor
TonyRedmondHi Tony and thanks for all the great info you've provided in this thread.
I'm getting ready to do a migration this weekend it looks like (have a Ex2010 Hybrid /O365 setup) and all my user's mb's are already up in the cloud but we have a lot of on-prem DG's.
Is there a PS command to pull the list of users for a specific group and save to a CSV?
Get-DistributionGroupMember ???
And then the corresponding PS-online command to create the DG with the CSV list of users?
Maybe I missed it above but thanks!
Jason
TonyRedmond
Jun 04, 2020MVP
Get-DistributionGroupMember -Identity MyGroup | Select DisplayName, PrimarySmtpAddress | Export-CSV -NoTypeInformation c:\temp\DL.csv
Something like that...