Sorry if this is a repeat as I didn't see my question listed. I have this one liner -
Update-DistributionGroupMember -Identity firstname.lastname@example.org -Members email@example.com
to replace all members in the firstname.lastname@example.org distribution list with the email@example.com 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 firstname.lastname@example.org - but all the list? like read in the whole file?