Changing the Collection Update Type for Multiple Collections in ConfigMgr

While waiting for a task sequence to run on a newly deployed computer, I found that the collection I had deployed the task sequence to had not updated even though I added the computer to the collection.  After some investigation, I discovered I had exceeded the recommended threshold for the number of collections that can be … Continue reading Changing the Collection Update Type for Multiple Collections in ConfigMgr

How to Quickly Get Overall Compliance for ConfigMgr Software Update Deployments

If you have access to your ConfigMgr SQL database, you can quickly get a summary for the overall compliance of software updates deployments using the following PowerShell script, which you can run on your local machine. It returns the results into the PowerShell GridView, allowing you to filter by deployment name, start time, deadline etc. … Continue reading How to Quickly Get Overall Compliance for ConfigMgr Software Update Deployments

Re-running a ConfigMgr Task Sequence on Multiple Computers

Recently I deployed a very simple task sequence to all our laptop computers which installs a new WiFi profile.  However, on viewing the deployment reports I noticed a number of machines where the deployment was stuck in either the 'running' state, or 'failed'.  Although the deployment is set to 'Re-run if failed previous attempt' it seems … Continue reading Re-running a ConfigMgr Task Sequence on Multiple Computers

Unlocking Locked Objects in the SCCM Console using Powershell

Have you ever come across a lovely message like this from the SCCM 2012 console?  In this case I wanted to open the properties of a package but somehow SCCM still has a handle on it that it won't release.  This could be because someone else is currently modifying it, but in this case I only … Continue reading Unlocking Locked Objects in the SCCM Console using Powershell

SCCM Package Distribution Email Notification

In my last post, we looked at a way to monitor ConfigMgr Package distributions with PowerShell.  In this post, we'll add an email notification to it.  Sometimes when you are distributing a large package to multiple distribution points, it's handy to receive a notification that the distribution has been completed so you don't have to … Continue reading SCCM Package Distribution Email Notification

SCCM Package Distribution Monitor

If you've installed the ConfigMgr 2012 R2 Toolkit, you've probably used the handy "Distribution Point Job Queue Manager" to monitor your distributions.  But you can also monitor them with Powershell if you wish to.  Here's a simple script that will do just that.  It will identify the package ID, name and type, the distribution points that are … Continue reading SCCM Package Distribution Monitor

Troubleshooting ConfigMgr 2012 Client Migration using Powershell (Part 5)

In this post we'll look at troubleshooting WMI errors.  Fixing every potential WMI issue is beyond the scope of this blog series, but what we can do it run the WMIDiag utility on the client machine, and this is very helpful to diagnose potential issues with WMI.  The report generated by WMIDiag contains advice on … Continue reading Troubleshooting ConfigMgr 2012 Client Migration using Powershell (Part 5)

Troubleshooting ConfigMgr 2012 Client Migration using Powershell (Part 4)

In this post, we'll look at another cause of ConfigMgr client upgrade failure - the SMS Task Sequence Agent service is running.  It can sometimes happen that a task sequence gets 'stuck' and never completes, but the SMS Task Sequence Agent service (smstsmgr) is started and never stopped.  Usually I have found that it 'freezes' … Continue reading Troubleshooting ConfigMgr 2012 Client Migration using Powershell (Part 4)

Troubleshooting ConfigMgr 2012 Client Migration using Powershell (Part 3)

In this post, we'll start looking at some of the common reasons why client upgrades fail, and how to resolve them. Firewall Restrictions or Missing Boundaries If the client computer has the Windows firewall turned on and the required exceptions are not made, then it may report in the CCM.log on the site server that … Continue reading Troubleshooting ConfigMgr 2012 Client Migration using Powershell (Part 3)