Pruning Old Computer Accounts in AD

In large organizations the task of keeping Active Directory cleansed of inactive computer accounts can be daunting. Using the dsquery command we can easily find all of the computers in the directory that have not been logged into in a given time interval. As an example, the following command will find all computers in […]