web analytics


How to create Software Update Group Deployment

Posted by:

 To create Software Update Group Deployment

  1. Set up a connection to the SMS Provider
  2. Query Software Update Group CI_ID and Updates property values from SMS_AuthorizationList WMI Class
  3. Create the new deployment object by using the SMS_UpdateGroupAssignment WMI Class
  4. Populate the new deployment properties
  5. Save the new deployment and properties


Example Output


You can download the code examples from here

About the Author:

Kaido Järvemets is a developer, consultant, trainer specializing in Microsoft System Center Configuration Manager and PowerShell Solutions at Coretech. Kaido frequently speaks at European conferences and had his US debut as speaker at MMS April 2013. Kaido is well-known in the Configuration Manager communities where he’s a key player in the PowerShell game. Kaido host one of the most complete Configuration Manager PowerShell library’s in the world with hundreds of free code samples ready to download and implement – www.cm12sdk.net. Kaido has been awarded Microsoft Most Valuable Professional (MVP) in Microsoft Enterprise Client Management for his work with Configuration Manager from 2011 – to present. Kaido is the founder of System Center User Group Estonia in 2011.


  1. Sonam  November 18, 2013


    I have to automate Software updates deployment using PowerShell. I tried this script to create a deployment – however i am getting error “Exception calling “Put” with “0” arguments : Generic Failure”

    I also want to confirm the steps included in Software Update deployment
    1. create software update group
    2. deploy group which internally creates a deployment package and deployment and also distributes content.

    In above example deployment package is not created?

    there is another link to create a deployment package http://cm12sdk.net/?p=1760
    but this does not includes software updates in it. Are these two scripts required to be used together to achieve Software updates deployment automation functionality.


Add a Comment