
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-24-2014 03:03 AM
Does anyone know how to report disabled computers in AD?
Solved! Go to Solution.
Labels:
- Labels:
-
Report Center
1 ACCEPTED SOLUTION

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-14-2014 09:00 PM
PowerShell definitely ideal for this.
Would probably be a fair amount quicker to run this, though:
No need to grab all properties with Get-AdComputer if you are only selecting Name and Enabled.
Cheers,
Matt
Would probably be a fair amount quicker to run this, though:
Get-ADComputer -Filter 'Enabled -eq $false' -Properties Enabled | Select Name, Enabled
No need to grab all properties with Get-AdComputer if you are only selecting Name and Enabled.
Cheers,
Matt
3 REPLIES 3

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-14-2014 09:00 PM
PowerShell definitely ideal for this.
Would probably be a fair amount quicker to run this, though:
No need to grab all properties with Get-AdComputer if you are only selecting Name and Enabled.
Cheers,
Matt
Would probably be a fair amount quicker to run this, though:
Get-ADComputer -Filter 'Enabled -eq $false' -Properties Enabled | Select Name, Enabled
No need to grab all properties with Get-AdComputer if you are only selecting Name and Enabled.
Cheers,
Matt

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-09-2014 04:59 AM
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

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-24-2014 12:17 PM
Lansweeper does not scan the computer status (enabled/disabled) from Active Directory, so this information cannot be included in reports unfortunately. We've added the feature to our wish list, but do not have a release date for it.
