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
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