Re: need help with DSRM with pipe | info
- From: Jerold Schulman <Jerry@xxxxxxxxxx>
- Date: Wed, 30 Nov 2005 12:23:10 -0500
On Wed, 30 Nov 2005 10:51:16 GMT, "spr" <jaybruce (take out big space) @hotmail.com> wrote:
>I cant figure out how to DSRM computers from a DSQUERY.
>
>I try:
>dsquery computer ou=blah,ou=blah.......... -stalepwd 45 -inactive 5
>OK
>dsquery computer ou=blah,ou=blah.......... -stalepwd 45 -inactive 5 | dsmod
>computer -disabled yes OK
>but
>dsquery computer ou=blah,ou=blah.......... -stalepwd 45 -inactive 5 | dsrm
>FAIL
>dsquery computer ou=blah,ou=blah.......... -stalepwd 45 -inactive 5 | dsrm
>computer FAIL
>dsquery computer ou=blah,ou=blah.......... -stalepwd 45 -inactive 5 | dsrm
>computer -uci FAIL
>
>I can't figure out how to get dsrm to work with piped input.
>
dsquery computer ou=blah,ou=blah.......... -stalepwd 45 -inactive 5 | dsrm -noprompt
You don't specify the object type on a DSRM.
Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com
http://www.jsifaq.com
.
- Prev by Date: Re: Errors 5790 and 5719; Domain Not Found
- Next by Date: Re: Disable users from accessing the system date and time
- Previous by thread: Re: Errors 5790 and 5719; Domain Not Found
- Next by thread: Re: Re: need help with DSRM with pipe | info
- Index(es):
Relevant Pages
|