Move users in Ad

Home Forums Scripting General Scripting Move users in Ad

Viewing 1 post (of 1 total)
  • Author
    Posts
  • Avatar
    pachox
    Member
    #112273

    i have a list of users in a .csv file that i want to move to a certain OU.
    I have only the samid of the users, not the dn. i
    so my goal is a script that can get the user dn (of the users in the csv) searching the directory and the give the results to dsmove (by a pipe or another file)
    unfortunately i can’t get the results immediately by dsquery because i don’t need to do a dsquery to the whole directory, but only for the users in the csv file

    thanks, for help,

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.