Category Archives: ConfigMgr

System Center Configuration Manager

Silent patching and controlled reboots

Patching silently and installing applications without any user interaction… This is really hard to do and it’s really hard to get compliant machines if you do not force a reboot every now and then. Then, if you force the user … Continue reading

Posted in ConfigMgr, Good-to-have, PowerShell | 5 Comments

Refresh ConfigMgr content where it’s needed

This script will check for content that needs to be refreshed, in this case its content of types like packages, applications, drivers, etc that have the state Retrying or Failed on one or more DPs. When the script find some … Continue reading

Posted in ConfigMgr | Tagged , , , , | Comments Off on Refresh ConfigMgr content where it’s needed

Export / Import boot image drivers (needed before ADK upgrade)

If you want to deploy Windows 10 you probably need to upgrade your ADK… and when you have done your upgrade you can’t see any drivers on boot images in the ConfigMgr console. So, to get your “old” drivers in … Continue reading

Posted in ConfigMgr | Comments Off on Export / Import boot image drivers (needed before ADK upgrade)

Copy drivers from one boot image to another

When you have a new ConfigMgr boot image ready but are missing some drivers from an old one… might be hard to find them in a larger structure. … Powershell to the rescue! 🙂

Posted in ConfigMgr, PowerShell | Comments Off on Copy drivers from one boot image to another

Exclude updates during OS Deployment

With A LOT of inspiration from a blogpost by The Deploymentguys I wrote a couple of scripts that do not require internet access during OSD. First, I have a script that pulls the KB and extracts KB-numbers to an XML-file. … Continue reading

Posted in ConfigMgr | Comments Off on Exclude updates during OS Deployment

Create Site Roles Collections

Quick and easy way to create device collections based on site roles: You will end up with collections like: – ConfigMgr-Role SMS Distribution Point – ConfigMgr-Role SMS Device Management Point – ConfigMgr-Role … and so on …

Posted in ConfigMgr, PowerShell | Comments Off on Create Site Roles Collections

Stand Alone Media and USB 3

I’m testing some Stand Alone USB Media for deployment of Windows 7 and 8… Ran in to a few problems… First off, it’s not to easy to find a USB-Stick with at least 32 Gb that is bootable. We found … Continue reading

Posted in ConfigMgr | Comments Off on Stand Alone Media and USB 3

Get filename in ConfigMgr 2012 ContentLib

In ConfigMgr 2007 it was kind of convinient to be able to edit files directly on a DP, in ConfigMgr 2012 that isn’t to easy if you are using Content Library. There are a few ways to find out where … Continue reading

Posted in ConfigMgr, PowerShell | Comments Off on Get filename in ConfigMgr 2012 ContentLib

ConfigMgr Package Status Reports

Found a nice idea for a report on Eswar Koneti’s blog. That query combined with some info from a blogpost by Jörgen Nilsson will give you two reports to dig into status of packages. Status of Distribution Points with Package … Continue reading

Posted in ConfigMgr, SQL Server | Comments Off on ConfigMgr Package Status Reports

Update ConfigMgr packages with Hotfix-information

When you install a hotfix and/or a cumulative update in ConfigMgr you can select the option to let the installer create some packages. But, those packages are missing some info… For instance Manufacturer and Version. A quick and dirty SQL … Continue reading

Posted in ConfigMgr, SQL Server | Tagged , , , | Comments Off on Update ConfigMgr packages with Hotfix-information

Get-ADSites and create Site Based Collections

Missing an easy way to get AD-Sites from Powershell? They are listed under Sistes/Configuration with the objectClass = Site. So a simple LDAP-query does the trick. Then, with these sites it’s easy to create Device Collections in ConfigMgr based on … Continue reading

Posted in Active Directory, ConfigMgr, PowerShell | Comments Off on Get-ADSites and create Site Based Collections

Remove all direct memberships from collections

If you are using direct memberships to speed up ConfigMgr, you probably want to clean it up when your collection query is good to go… The problem is to find all direct memberships since Get-CMUserCollectionDirectMembershipRule doesn’t allow wildcards. But there … Continue reading

Posted in ConfigMgr, PowerShell | Comments Off on Remove all direct memberships from collections

Load ConfigMgr 2012 Powershell Modules

If you want to load the modules for Configuration Manager 2012 outside of the Admin Console there are a few prereqs… You need a 32 Bit Powershell prompt and you need to run is at admin and of course you … Continue reading

Posted in ConfigMgr, PowerShell | Comments Off on Load ConfigMgr 2012 Powershell Modules

Logon Scripts in Powershell – Part4: Trigger ConfigMgr client actions

With the ConfigMgr agent in place on your client’s you probably want to force it to start some client actions on logon to speed up deployment of new applications. This function will work with the ConfigMgr 2007 (on x86) and … Continue reading

Posted in ConfigMgr, PowerShell, Series | Tagged , | Comments Off on Logon Scripts in Powershell – Part4: Trigger ConfigMgr client actions

Update ConfigMgr Site Description

I did an install of a secondary site and accidently put in the wrong description… Anyway, easy to fix with some SQL commands. If you use this you can see the current sitenames and descriptions (change CM_XYZ to your database … Continue reading

Posted in ConfigMgr, SQL Server | Tagged , , | 1 Comment