I created a txt file with user information
like this CN=Neville Longbottom,OU=Gryffindor, OU=students,DC=hogwarts,dc=local" -samid nlongbottom -pwd
P@ssw0rd -fn neville -ln longbottom
but when i run this cmd
For /f “tokens=*” %i in (newusers.txt) do @dsadd user %i
I get an error saying " * was an unexpected error
what am i doing wrong.
like this CN=Neville Longbottom,OU=Gryffindor, OU=students,DC=hogwarts,dc=local" -samid nlongbottom -pwd
P@ssw0rd -fn neville -ln longbottom
but when i run this cmd
For /f “tokens=*” %i in (newusers.txt) do @dsadd user %i
I get an error saying " * was an unexpected error
what am i doing wrong.