We help IT Professionals succeed at work.

replace all members in the 3915traffice@veyance.com distribution list with the 3915traffic@contitech.us member only input csv

Tammy Rule
Tammy Rule asked
on
70 Views
Last Modified: 2019-01-26
Sorry if this is a repeat as I didn't see my question listed.  I have this one liner -
Update-DistributionGroupMember -Identity 3915traffic@veyance.com -Members 3915traffic@contitech.us
to replace all members in the 3915traffice@veyance.com distribution list with the 3915traffic@contitech.us 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.

Thanks but is there a way to input the whole csv file in with all the distrib groups in - not just the -Identity of 3915traffic@veyance.com - but all the list?  like read in the whole file?
Comment
Watch Question

Active Directory/Exchange Engineer
CERTIFIED EXPERT
Top Expert 2015
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION