The Application Model in ConfigMgr 2012 let's you do some pretty neat things. One of those things is specifying supersedence. The ConfigMgr 2012 SDK has an example in C# showing how to create the Supersedence, so I studied it and was able to re-produce it in PowerShell. Scenario I have two Notepad++ Applications as below, We will create the Supersedence rule for 6.5.1 making it supersede 6.2.3. Look below for the terminology. Rest of the Story: code and walkthrough The code is pretty long and will step through it in pieces. Won't be using the ConfigurationManager PowerShell module. This is entirely WMI/CIM and some .NET Fu at work ;) First let's get the pre-requisites out of the way by doing below: 001 002 003 004 005 006 #Load the Default Parameter Values for Get-WMIObject cmdlet $PSDefaultParameterValues = @{ "Get-wmiobject:namespace" = "Root\SMS\site_DEX" ; "Get-WMIObject:computername...
Infra + Dev's ramblings