Quantcast
Channel: Exchange Previous Versions - Setup, Deployment, Updates, and Migration forum
Viewing all articles
Browse latest Browse all 1246

Distribution Lists and Members Add using CSV

$
0
0

Hi all, been reading all the threads on this topic. I have scripts to build the DL's from CSV in bulk, that's easy. I can even probably do some clever slice and dice of the xcel file to make the group members get populated but I am not sure I have seen a PS script that will work. Here's what my CSV will look like:

Group_Name      1st smtp address     2nd smtp address  3rd smtp adderss and so on

my_DL             first smtp address      second smtp address  3rd smtp address

Currently I have this all in a sheet where the group name is first column and the addresses are all semi colon separated in one column for each group. So group my_DL has 25 members with ; separating them in another column. I can quickly use excel to make it look like above, so the question is, does anyone have sample code that would parse a single column x number of times, rather than splitting this out into a ton of columns each with one entry.

It would be nice to keep one big CSV but if it's not easy to script, then breaking it down to individual CSV files and running those through will be fine. Thanks

 "ZZ"


Viewing all articles
Browse latest Browse all 1246

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>