Re: need help with DSRM with pipe | info

Tech-Archive recommends: Fix windows errors by optimizing your registry



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
.



Relevant Pages

  • Re: Re: need help with DSRM with pipe | info
    ... >>>I cant figure out how to DSRM computers from a DSQUERY. ... >>>computer FAIL ... >>>I can't figure out how to get dsrm to work with piped input. ... >> JSI, Inc. ...
    (microsoft.public.windows.server.active_directory)
  • Re: Disable Login
    ... it really isn't a script, it is more like a single line: ... dsquery and dsrm are part of the DS command set used to manage Active ... You can install the command set on a Windows XP ... result is the building of a list of DSN's that are funneled to the DSRM, ...
    (microsoft.public.win2000.advanced_server)
  • EXTERN.h not found
    ... hi all ive been trying to compile a couple of programs lately and they all ... fail with the line below saying they cant find EXTERN.h. ...
    (comp.lang.perl.misc)
  • Buy 5052 H38 alum sheet , tapered rollers for airplane hub
    ... so why cant i spend ... to spread out into an alum frame. ... Alum will fail, at any small lload. ... Steel wont. ...
    (rec.crafts.metalworking)
  • Re: Sign my petition
    ... petition as i cant get people to sign its hard lol well heres the link ... I fail to see any connexion with either heraldry or reality. ...
    (rec.heraldry)