Copyright © 2019 - PrajwalDesai.Com All Rights Reserved.
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.
WARNING: An update to the System Center 2012 Configuration Manager Cmdlet Library is available. Please go to ‘http://go.microsoft.com/fwlink/?LinkId=528947’ to download the latest version. Running cmdlet version: 5.0.8328.1155 Latest cmdlet version: 5.0.8373.1189
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.
Close the Configuration Manager console and close PowerShell window. Run the msi file. You will see sccm cmdlet library setup wizard. Click Next.