I'm planning a domain migration and I would to understand which computer objects are up and running. Already tried the command “dsquery computer domainroot -stalepwd” but I still have some doubts with the output. Does anyone have any other suggestion?
Thanks in advance!
JFA
Assuming PowerShell scripts are acceptable, here's one courtesy of Matt Vogt.
https://gallery.technet.microsoft.com/scriptcenter/Get-Inactive-Computer-in-54feafde
Change the $domain value to your domain, and $DaysInactive to any length of time you'd like.