All posts in Scripts

sup-script-03While being in the process of migrating Windows Software Update Services 3.x to Configuration Manager 2012 you have only one really supported solution, namely adding all approved software updates to Software Update Group manually. This is a lot of work when being in an environment that was operational for years and years with lots of products and approved updates. Just adding all updates isn’t an option either since all approved and declined updates are tested throughout the years. When looking on the Internet for a workaround I came across this workaround for Configuration Manager 2007.

Read more

cu1-errors-00Today I was at one of my customers and looked at an issue that my Clean up Powershell script was not working anymore. While troubleshooting I noticed that the script was exited with a Quota Violation error, since they also has some WMI issues since a power outage a couple of weeks ago I thought it was a WMI issue like described here.

Read more

20130425-powershellscriptToday 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.


newrelease-appToday I have released a new version of the app.  The layout is slightly changed so that we are able to place the title of a blog on one row instead of two or more. You are able to download the App in the Windows App Store via this link! If you like it please let me know.


An earlier blog about the app can be found here.


cm-winappHow cool is this, thanks to Microsoft Evangelist Marcel Nieuwpoort (and his team) who created the “App in a snap”-template this blog can now also be followed via the Windows 8 App.

Via the application you are able to read the intro from my blog posts and browse to the complete article via the link below the intro. In the future I will try to extend the app with several options. If you have an idea, please let me know!

Read more

sccm2012-logoI am not a real scripting guy but for one of my customers I wrote a Powershell script that allows you to delete devices in Configuration Manager 2012 SP1 that have been deleted from the Active Directory. This way the customer is able to keep its Configuration Manager database clean and update date. With the release of Service Pack 1 for Configuration Manager you are able to use real Configuration Manager cmdlets instead of connecting through WMI to your Configuration Manager 2012 site. Scripting has become easy 😉

Read more