How to Update Configuration Manager Cmdlet Library

In this short post we will see how to update Configuration Manager cmdlet library. When you install configuration manager cmdlets, you can manage your SCCM setup using PowerShell cmdlets. For example it could be getting the information about SCCM hierarchy, getting list of applications etc. There are lot of configuration manager cmdlets available. If you looking for cmdlet reference its here.

To manage SCCM using PowerShell, cmdlet library must be installed. Therefore if you are running System Center 2012 Configuration Manager SP2 and above, you could install the powershell cmdlets. The System Center Configuration Manager Cmdlet Library is available for download here.

Also the SCCM cmdlet library is updated often by Microsoft. If you are installing the cmdlet library for the first time then just download it from download center and install it. If you have already installed it and if there is an update available, then this post will help you.

How to Update Configuration Manager Cmdlet Library

So how do you know the configuration manager cmdlet library update is available ?. When you launch the powershell and run any script, you will see a warning message.

In the warning message you see the link to download latest version of cmdlet library. Copy the link and open in the browser.

Now launch the PowerShell and type the command Get-CMCmdletUpdateCheck. This command checks the update feature configuration and will indicate if user policy is being overridden by system policy. Furthermore in the below screenshot you can see that IsUpdateAvailable is set to True. So this means the update to cmdlet library is available.

When you open the cmdlet download link, it takes you to download center. You can also verify the revision history. Select the ConfigMgr2012PowerShellCmdlets.msi file and click on Download.

Close the Configuration Manager console and close PowerShell window. Run the msi file. You will see sccm cmdlet library setup wizard. Click Next.

For rest of steps click Next. Finally click on Finish.

Launch the PowerShell and run the same command again. You will now see that IsUpdateAvailable is set to False. Congratulations, you have successfully updated the Configuration Manager Cmdlet library.

Hi, I am Prajwal Desai. For last few years I have been working on multiple technologies such as SCCM / Configuration Manager, Intune, Azure, Security etc. I created this site so that I can share valuable information with everyone.