dsrm

  • Thread starter Thread starter Barny
  • Start date Start date
B

Barny

I would like to use dsrm to delete old computer accounts
from the domain/active directory. Say I have a computer
called ABC-PC in mydomain.com. If I try the following:

dsrm computer cn=abc-pc,dc=mydomain,dc=com -u
my_domain\myuserid

dsrm returns: "dsrm failed:Value for `Target object for
this command' has incorrect format."

What am I doing wrong?
 
I would like to use dsrm to delete old computer accounts
from the domain/active directory. Say I have a computer
called ABC-PC in mydomain.com. If I try the following:

dsrm computer cn=abc-pc,dc=mydomain,dc=com -u
my_domain\myuserid

dsrm returns: "dsrm failed:Value for `Target object for
this command' has incorrect format."

What am I doing wrong?

You don't use computer. It knows what it is by the DN.

dsrm cn=abc-pc,dc=mydomain,dc=com -u
my_domain\myuserid



Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com
 
Back
Top