If you have access to your ConfigMgr database, you have access to a wealth of information, including the detailed steps of your OS deployments. Below is a PowerShell script that will query the ConfigMgr database and return the detailed steps of your deployments. You can specify a particular machine that is being or has been deployed, the … Continue reading Monitor OS Deployments with PowerShell
Author: Trevor Jones
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
PXE Boot Fails After Computer Rename
Today I had an interesting PXE boot problem where a computer kept aborting the PXE boot. So I checked the SMSPXE.log and found that there were no advertisements for that machine: Client boot action reply: <ClientIDReply><Identification Unknown="0" ItemKey="16777684" ServerName=""><Machine><ClientID/><NetbiosName/></Machine></Identification><PXEBootAction LastPXEAdvertisementID="" LastPXEAdvertisementTime="" OfferID="" OfferIDTime="" PkgID="" PackageVersion="" PackagePath="" BootImageID="" Mandatory=""/></ClientIDReply> F0:1F:AF:6C:05:53, 4C4C4544-0047-5310-8034-C3C04F595931: no advertisements found F0:1F:AF:6C:05:53, 4C4C4544-0047-5310-8034-C3C04F595931: … Continue reading PXE Boot Fails After Computer Rename
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
Ping all the Computers in an AD OU
Here is a clean and simple PowerShell script to ping all the computer accounts in an Active Directory OU, and return the Name, IP Address and any errors into a csv file.
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)