Tag Devices No Longer in Active Directory
It would be nice to have a pre-built collection that puts devices found in SCCM that do not have a corresponding object in Active Directory. We could then delete those objects on a cycle or as needed. This will help keep our SCCM inventory more closely resemble Active Directory and keep it clean.
Sorry i changed the github link : https://github.com/meterien/ConfigMgr
Tim De Haan commented
Thanks, I will check this out.
I publish a script which put computers in a certain collection based on there presence in ActiveDirecory. I never used it outside our network, so let me know if it can be of use.
https://github.com/meterien/ConfigMgr-Scripts => in the Active Directory section
Use AS IS with no warranty