Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DSquery and DSmove

Status
Not open for further replies.

quinla01

IS-IT--Management
Nov 1, 2005
20
GB
Hello, I'm trying to query my active directory for disabled accounts and then move them into an OU named "disabled ou".

I've tried the following:

dsquery user -disabled | dsmove -newparent "ou=disabled group,dc=etc,dc=etc,dc=etc"

however i received the following message.

dsmove failed:`CN=blahblah,OU=Disabled group,DC=etc,DC=etc,DC=etc,'is an
unknown parameter.
type dsmove /? for help.

I cant seem to figure it out.

Andy help would be great.

Thanks

Andy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top