Today I released a new version of the “Cleanup in AD deleted devices via Powershell in ConfigMgr 2012 SP1” script that was originally released in March of this year. In this new version the following is changed:
- Ability to set the Maximum Query Result Size of ConfigMgr 2012 SP1, by default this is 1000 items
- Fixed little bug while searching in AD for objects give back a number higher than 1. (more AD objects with the same name)
You are able to download the new script here in the Microsoft TechNet Gallery. Please let me know what you think of the script. I have some ideas to extend the script in the future, so stay tuned.