Programming System Center

SCCM 2012 Extension: Remove a Computer from all Collections

Recently one of our customers wanted to have an extension for his Microsoft System Center Configuration Management 2012 Console to be able to remove a computer from all collections to which it was assigned to.

This was truly my first scripting and programming job regarding SSCM 2012. I did a little research on google and figured out how to do this. And this is how it looks like:


There are two main components:

  • A script or application which will do the work
  • A XML file which actually adds the script or application to the context menu

The XML file needs to be placed in the following folder:

The script or application can be put anywhere you want – you’ll only need to modify the path within the XML file:



You may also like
Read NetAtmo weather station data via Script
VBScript: Include Function
RPi-Monitor Docker container

Leave Your Comment

Your Comment*

Your Name*
Your Webpage