send/pipe results to dsmove.exe

Home Forums Microsoft Networking and Management Services Active Directory send/pipe results to dsmove.exe

Viewing 1 post (of 1 total)
  • Author
    Posts
  • Avatar
    hodester
    Member
    #154245

    I have been trying to move a list of computer to a new OU with the following command

    Code:
    for /F “Tokens=1” %1 in (computer.txt) do dsmove %1 -newparent “OU=45Day,OU=Computers,OU=aa,DC=aa,DC=bb,DC=cc,DC=dddd,DC=ss”

    I receive the error;

    dsmove failed:Value for ‘Target object for this command’ has incorrect format.

    any help would be great.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.