This Application is a PowerShell Script that can be used to create applications in SCCM, it takes care of downloading, packaging, distributing and deploying the applications described in XML "recipe" files. The goal is to be able to package any frequently updating application with little to no work after creating the recipes.
- Download the Project
- Set up your SCCM Preferences in the SCCMPackager.prefs file (it is a standard XML file)
- Create the Requirements Template Application in SCCM and set any Rules that you need in that Application (Instructions Below)
- Check out the Recipes in the "Disabled" Folder, Modify them to your needs, and copy them into the "Recipes" Folder (Note: Some Recipes Require 7-Zip which is not included)
- Run the SCCMPackager.ps1 (I have mine set up as a scheduled task to run twice a day)
SCCM ConfigMgr Console - Tested on SCCM 1710
Some Recipes require the 7za.exe from the 7-Zip Project, which can be found here: Project Page - 7za.exe should be placed in the same folder as the SCCMPackager.ps1 Application.
Setting Up the Requirements Template Application
- Set the Name for your requirements Template Application in SCCM
- Create an Application in your SCCM environment with that same name
- Use a "script installer" and for the installation program, just use something that will close immediately, i just used "hostname" NOTE: There is now a default recipe in the Recipes folder that does step 1, 2 and 3 for you! All you have to do now is add the requirements to the deployment type created there.
- Add any requirements that you plan to use for the packager to this App, OS Version, and architecture are most common
Feel free to create your own Recipes, Contribute to the main code, or provide feedback!
- Andrew Jimenez - Main Author - asjimene
See also the list of contributors who participated in this project.
Used and Modified code from the following, Thanks to all their work:
-
Janik von Rots - Copy-CMDeploymentTypeRule
-
Jaap Brasser - Get-ExtensionAttribute
-
Nickolaj Andersen - Get-MSIInfo
This Project does not provide Applications directly, Recipies provide the links to the Applications. Downloading and packaging software using this tool does not grant you a license for the software. Please ensure you are properly licensed for all software you package and distribute!