A few weeks ago Microsoft release SCCM Technical Preview version 1904 and it had many interesting features, one of which is dedicated to community involvement.
After installing SCCM Technical Preview 1904, open the console and browse to the Community Node, you’ll be presented with the Documentation section. Note that it was last updated a few days ago.
Adding community content
The Hub underneath it allows you to contribute to the SCCM environment and have your scripts (and other ConfigMgr related stuff) shared here for all to see (once you are approved), all you need as a prerequisite is a GitHub account. If you don’t already have one, get over to https://github.com/ and create an account, while you are at it setup 2FA as Microsoft requires it for the Hub.
So let’s see it in action. Click on Hub. If you are using an older version of Windows Server (such as 2012R2) or one that doesn’t have .NET 4.6 you’ll probably see the following.
To get started, click on My Hub and then sign in with your GitHub account and click Join.
Then, go back to the Hub, click on My Hub and sign in, you’ll be prompted to Authorize the Hub.
Note: To upload content such as PowerShell scripts to your Hub, you first need to add them to your own SCCM environment via the Scripts node, then you must Approve them. Please refer to the Approved script called Install SCCM shown below.
Click on Add an item
Note: If you cannot see the whole window that appears (you should be able to see Next and Cancel), press and hold CTRL while scrolling your mouse wheel back or forth to zoom out.
In the drop down that appears, select Script (the other options don’t seem to work right now), and then fill in info about the script, lastly, click on Browse.
The wizard will start Applying changes..
… and if you are lucky you’ll see the following.
You might just miss the link above, it links back to GitHub and if you copy/paste that into a web browser you can see the status of your submission on GitHub.
And this will be reflected in the console with a Pending for approval state.
Accessing other community content
Well that’s how you can contribute, if you want to access what others contribute click on Home.
In the Home section of the Community, you’ll see other scripts, reports, CI’s and other items that help the community with SCCM, you can download these items by clicking on them and selecting Download.
Note: If the setting below (4) is enabled then the Approve button will be Greyed out if you are the approver of the script. In other words, another Admin needs to login and approve it.
Select the item in question and choose Approve (from the Software Library/Scripts node).