Jun 20 at 4:24 PM
I was able to dump the users from a group to an xml file with no problem, but now I need to use the AddUser function to add these users to another group. I edited the xml file to change the group name to the group I need to add to, and changed the owner name to the owner of the group, but when I run it I get '0 user(s) added successfully'. The command I'm using is <path>\Edit-SPGroup.ps1 -o create -file <filename> -url <site url>. This obviously isn't right, so how would I call this to add users to an existing group?
Jun 20 at 5:17 PM
Never mind, apparently I can't read. When I ran the command, I used the wrong xml file. It was trying to add the users to the group they were already in.