DSQuery and DSMove command - can't move what I pull from query - Old Computer accounts
Posted on 2008-06-10
I an using DSQuery command to pull up computer accounts that have a stale password over 30 days old. I'd like to move those computer accounts to a new OU with IN AD but am running into problems.
My dsquery strings reads as follows:
dsquery computer cn=computers,dc=mydomain,dc=com -stalepwd 30 -limit 0
WHat I need to know is what comes after the 0 in my string to move thoss PCs that came up from the query to an OU called "disabled computers".