You want a list of AD computer accounts that are stale/inactive.
You can do this via dsquery from a DC.
- Log into a DC.
- Open a command prompt.
- Run the command:
C:> dsquery computer -inactive 60
echo Stale AD Data Report
if not exist %windir%ntds goto :NOT_DC
echo Computers, Inactive 60 Days
dsquery computer -inactive 60
echo Users, Inactive 60 Days
dsquery user -inactive 60
echo This is not a DC, did not find:
Optionally, there is a really cool tool that is useful for this: