Active Directory Script: DSMOVE failed

Posted by Malnizzle on Server Fault See other posts from Server Fault or by Malnizzle
Published on 2010-03-10T21:30:57Z Indexed on 2010/03/25 18:33 UTC
Read the original article Hit count: 326

DSQUERY user -inactive 4 | DSMOVE -newparent <distinguished name of target OU>

Running this script and getting "dsmove failed (user) is an unknown parameter".

If I run the dsquery w/o the dsmove, it cleanly pulls a list for me. If I run with just one account, it works as well.

Thoughts?

© Server Fault or respective owner

Related posts about active-directory

Related posts about scripting