Hi,

 

I have been given a list of 200 users to disable, and move to another OU.

The users are not currently in the same OU but in many different OU.

 

I am trying to use the txt file that contains the list of users to be disable.

 

How can I do this?

 

 

I was trying to use the query tool that comes with AD users and computer to select the users but got nowhere with

 

(&(&(&(|(&(objectCategory=person)(objectSid=*)(!samAccountType:1.2.840.113556.1.4.804:=3))(&(objectCategory=person)(!objectSid=*))(&(objectCategory=group)(groupType:1.2.840.113556.1.4.804:=14))))(objectCategory=user)(cn=user1)))

(&(&(&(|(&(objectCategory=person)(objectSid=*)(!samAccountType:1.2.840.113556.1.4.804:=3))(&(objectCategory=person)(!objectSid=*))(&(objectCategory=group)(groupType:1.2.840.113556.1.4.804:=14))))(objectCategory=user)(cn=user2)))

etc

 

 

Thanks

Rezuma

Reply via email to