Well, I've spent more time on getting this script to work than the time it would have taken to actually create the groups manually.

I can see the group names are returned correctly, and the createadgroup can create a single ad group correctly. Getting the two to work together isn't possible by me.

I am going to give up and do just that.

Thanks for trying to help me out.

tjcarst