Monday, August 16, 2010

Automatic workstation object removal

You can use dsquery command to find inactive computers and then delete them
with dsrm.
dsquery computer domainroot -inactive NumberOfWeeks | dsrm -noprompt



http://technet.microsoft.com/en-us/library/cc755655(WS.10).aspx