Sorry if this is a repeat as I didn't see my question listed. I have this one liner -
Update-DistributionGroupMember -Identity email@example.com -Members firstname.lastname@example.org
to replace all members in the email@example.com distribution list with the firstname.lastname@example.org member only
Looking for some help in creating a script that will read in the other 385 distrib groups and associated member to replace from a csv file.
Thanks but is there a way to input the whole csv file in with all the distrib groups in - not just the -Identity of email@example.com - but all the list? like read in the whole file?