Share This Post

New version of Cleanup devices in ConfigMgr 2012 script released

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.

Read more about the script here: and


Share This Post

Senior Technical Consultant and Configuration Manager MVP with Microsoft partner IT-Concern with the focus on the System Center Suite and Microsoft Exchange. Writing blogs and sharing his knowlegde on and Co-author of Mastering System Center Configuration Manager 2012 book from Sybex. Check for more info:

Leave a Reply