Howto: Mass Remove Computers Through Command Line

How To:

Mass remove Windows computers from the domain.

Solution

Use the tool udm for this.

Syntax as follows:

udm computers/windows remove --dn="cn=pc1,cn=computers,ou=ouname,dc=multi,dc=ucs" --remove_referring
Mastodon