This repository includes PowerShell demo code for creating and updating ConfigMgr Application Groups (Bundles) via the ConfigMgr SDK.
It is not a complete E2E solution. It just demonstrates the basic parts how to do it.
The sample code was tested and verified with the ConfigMgr TP1905.
- Load the dependend AdminUI Libraries for managing ApplicationGroups
- Create the in memory Application Group Object
- Set the Localization information
- Create and add the applications that should belong to this group
- Serialize the object to SDMPackageXml
- Create the ConfigMgr SMS_ApplicationGroup Object
- Save the ConfigMgr Object