I want to add a particular user on my Domain to Multiple groups using DSADD user command. I tried doing the same doing this:
DSadd user "CN=Last\, First,OU=AB,DC=Xyxyxyx,DC=Com" -pwd Password -samid
First.last -fn First -ln Last -empid 12345 -display "Last, First" -loscr
Script.vbs -upn First.Last@Xyxyxyx.com -memberof "CN=.Abc
Def,OU=AB,DC=Xyxyxyx,DC=com"
But it only allows me to add a new user to one group at creation time. Can anyone please tell me what the correct syntax for using DSADD user command is? Thanks in advance,


Reply With Quote

Bookmarks