NArezdog wrote:
Does anyone know how to report disabled computers in AD?
I primarily use Lansweeper for all my network reporting, but when are there queries that I'm not able to run in LS (because data is not collected), I turn to PowerShell.
This will work in PowerShell v3 or greater. If you have a DC that is WIN 2008 R2 or greater, you have PowerShell installed.
get-adcomputer -Filter {(name -like "*") -and (enabled -eq $FALSE)} -properties * | Select Name, Enabled