Bulk enable disabled SCCM 2012 Programs using PowerShell

As those of you migrating from System Center Configuration Manager 2007 to SCCM 2012 may already know, migrated advertisement by default are created in a disabled state.

After you have sanity checked/tested a few migrated programs, you might quickly tire of using the GUI to enable the 100’s of migrated artifacts.

As always, the answer is PowerShell (remind, what was the question again?) – The following pipeline will enable all programs in a given site:

Get-CMProgram | Enable-CMProgram

So many clicks saved. Your mouse can thank me later :)

If you’re struggling to connect to the SCCM 2012 PowerShell provider in the first place, this blog post from Yvette OMeally of the Microsoft team will point you in the right direction.

Leave a Reply