troubleshooting Question

how do i use dsmove with piped results

Avatar of mlptechsupport
mlptechsupport asked on
Microsoft Legacy OSMicrosoft Server OSWindows Server 2003
3 Comments1 Solution848 ViewsLast Modified:
i am trying to use the dsquery command line tool to identify inactive computer accounts of 8 weeks and then dsmove them by piping the results.

 The command is:
dsquery computer -inactive 8 -limit 1000 ou=mlp,ou="computer accounts",dc=aaa,dc=bbb,dc=ccc,dc=org   | dsmove -newparent ou="inactive computers",ou=mlp,ou="computer accounts",dc=aaa,dc=bbb,dc=ccc,dc=org -u domain\userid -p Mypassw0rd

The error returned is:
dsmove failed:`CN=sporaticcomputernames,OU=MLP,OU=computer accounts,DC=aaa,DC=bbb,DC=ccc,
DC=org' is an unknown parameter.
type dsmove /? for help.
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros