Quantcast
Channel: Directory Services forum
Viewing all articles
Browse latest Browse all 31638

dsquery piped into dsmove/dsrm fails

$
0
0


C:\Documents and Settings\quejuanm>dsquery computer -limit 1000 -inactive 4 | dsmove -newparent ou=inactive,dc=xxxx,dc=xxx,dc=xx,dc=x
dsmove failed:`CN=xxxxxx,OU=xxxxx,DC=xxxx,DC=xx,DC=xx,DC=x' is
 an unknown parameter.
type dsmove /? for help.

Same thing with dsquery | dsrm -noprompt.

I save ouptut  (dsquery xxxx >output.txt), removed the " and it works, thing is I want to do this automatically witout the need of manually removing "   .

 

any idea?

 

thanks in advance,

.


Viewing all articles
Browse latest Browse all 31638

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>