Identify computers deleted from AD ("Import Only" selected)
Jason Mauai
Is there a way to create a report or collection identifying all computers recently deleted from AD, assuming "Import Only" option is selected in AD Sync preferences?
0
Comments
I believe that this is what you are wanting to get. Typically "Computer name could not be found" as a scan status is a pretty good indicator that either A) the machine has been removed from AD or B) you have a DNS issue with name resolution on that host. Both are valuable.
This XML can be imported into Inventory and run to give you a list:
I'm looking for this same thing, except I'm hoping for exact results, and ideally I'd like them in a dynamic collection.
The exact results should be possible. It's the same list of computers PDQ Inventory would delete from the database were the sync option changed from "Import Only" to "Mixed Sync".
It would be nice to have this as an builtin option in PDQ Inventory so we could filter it out in a collection/report.
Or maybe use PowerShell... Get-ADComputer, export to a CSV, and import into a custom field.
Maybe somehow export a list of the PC from PDQ, query the AD for disabled, then if the computer account is missing, if would return an error code. Then mark the PC as disabled or deleted.
Not sure it is at all possible.