I need to import these users back into the groups, as i have a need to remove them from AD for another project.
I am able to export out the information i want using this csvde command:
csvde -d "OU=Dir Contacts,DC=testpope,dc=local" -f memberof.csv -r objectCategory=contact -l "memberof"
Here is the csv formating:
DN,memberOf
"CN=Test User1,OU=dir Contacts,DC=testpope,DC=local","CN=Test Group2,CN=Users,DC=testpope,DC=local;CN=Test,CN=Users,DC=testpope,DC=local"
"CN=Test User 2,OU=dir Contacts,DC=testpope,DC=local","CN=Test Group 2,CN=Users,DC=testpope,DC=local;CN=Test,CN=Users,DC=testpope,DC=local"
can anyone help me out here..i have over 3000 users and 300+ different groups.
Thanks for any help!!!!
I am able to export out the information i want using this csvde command:
csvde -d "OU=Dir Contacts,DC=testpope,dc=local" -f memberof.csv -r objectCategory=contact -l "memberof"
Here is the csv formating:
DN,memberOf
"CN=Test User1,OU=dir Contacts,DC=testpope,DC=local","CN=Test Group2,CN=Users,DC=testpope,DC=local;CN=Test,CN=Users,DC=testpope,DC=local"
"CN=Test User 2,OU=dir Contacts,DC=testpope,DC=local","CN=Test Group 2,CN=Users,DC=testpope,DC=local;CN=Test,CN=Users,DC=testpope,DC=local"
can anyone help me out here..i have over 3000 users and 300+ different groups.
Thanks for any help!!!!