Tag: SCCM

How to Create a Robust SCCM Backup with PowerShell

Backing up SCCM isn't simple. Using PowerShell, we can create a script to backup nearly everything we need.

Adam Bertram Avatar Adam Bertram

7 min. read

CMClient Module: Invoke Common SCCM Client Actions via Powershell

I'm pleased to share my most recent module; CMClient! This module contains a lot of the common actions I tend to do on SCCM clients all grouped into a module. At this point, it only has functions to kick off common client triggers. These triggers are Machine Policy Download, Discovery Data Cycle, Compliance Evaluation, Application Deployment Evaluation, Hardware Inventory, Software Inventory, Update Deployment Evaluation and Update Scan.

Adam Bertram Avatar Adam Bertram

7 min. read

MIFS Gone Wild: Use PowerShell to Track Down Problem Clients

SCCM admins have a lot of things to worry about. Software deployments, OS imaging, patching, the tasks can sometimes feel overwhelming. Tack on client health to that list of responsibilities and you'll seen feel like you're going insane.

Adam Bertram Avatar Adam Bertram

< 1 min. read

Problems Downloading ConfigMgr Software Updates License Terms: SOLVED!

To finish off the marathon troubleshooting session I've had lately I've finally fixed the last lingering software update sync problem. This problem was noticed by the following symptoms:

Adam Bertram Avatar Adam Bertram

< 1 min. read

Software Updates Stuck in “AssignmentStateDetecting” Status

Today, it looks like I'm still running into issues relating to last week's site system restore.

Adam Bertram Avatar Adam Bertram

2 min. read

My Initial Impressions of Desired State Configuration (DSC)

I've heard of DSC and have very briefly read up on it previously but this is the first time I ever let myself just digest the topic and play with it a little bit. I thought a non-technical, review blog post might help others brand new to DSC. I'm not going to go into what DSC is and what it does. �There's plenty of content already out there for that. I am, however, going to give you my own interpretation of the technology and how I see this going in the near future.

Adam Bertram Avatar Adam Bertram

2 min. read

Remove All Direct Membership Rules from an SCCM Collection

Here's how you can automate removing direct membership rules in an SCCM collection with PowerShell.

Adam Bertram Avatar Adam Bertram

2 min. read

How to Convert SCCM Applications to Packages

At my client, we were seeing way too many flaky problems with using application inside OSD task sequences. The same programs would work just fine in a package. It was decided that no more applications would go inside OSD task sequences.

Adam Bertram Avatar Adam Bertram

5 min. read

How To Remove Software with PowerShell

I created this script for my SCCM uninstall deployments. I found that I was doing the same thing over and over again so I decided to create a base script to allow me to feed it a software title and uninstall all instances. I purposely chose not to use the Powershell App Deployment Toolkit because, although very powerful, I find that nearly every piece of software is different and I would have had to customize it too much.

Adam Bertram Avatar Adam Bertram

4 min. read

Reading SCCM Logs with PowerShell

If you're aan SCCM admin we're all familiar with log reading tools like CMtrace and its predecessor SMStrace.

Adam Bertram Avatar Adam Bertram

2 min. read

Find Installed Software via WMI and SCCM

I'm a full-time SCCM admin. All of the systems that I support have the SCCM client installed on them. If you don't have SCCM 07/12 then I'm sorry to say this WMI class doesn't exist. However, for those who do, here's a great tip!

Adam Bertram Avatar Adam Bertram

< 1 min. read

All SCCM Software Updates Expired After Site Restore

As I type, I'm in the middle of a major Configuration Manager problem. You can't do too many updates deployments when every, single update in the database is expired! This is what it took to get my SCCM software updates back up and going after a restore.

Adam Bertram Avatar Adam Bertram

3 min. read

Tales of a Forced SCCM Site Restore

I was at Microsoft's TechEd North America 2014 last week learning all kinds of new and cool technology. On Monday, I got pinged by my client's helpdesk support that no ConfigMgr operations could take place. No one could connect with the SCCM console, no OS deployments would work nor would any software deployments. WTF?

Adam Bertram Avatar Adam Bertram

3 min. read

SCCM Site Maintenance Task Powershell Module

I was getting ready to upgrade our ConfigMgr 2012 SP1 site server to R2 and one of the tasks I needed to do was disable all the site maintenance tasks while the upgrade is being performed. I started to document all the site maintenance tasks that were enabled and then proceeded to disable them and hit my click limit. If I find myself clicking a repetitive pattern more than a couple of times I stop and ask myself "Can and should this be automated?" and lucky for you I decided to take some time to create a few small PowerShell functions.

Adam Bertram Avatar Adam Bertram

3 min. read

How To Find Deployments Targeted at a Client in SCCM with PowerShell

At my place of employment's PCs are way out of date with updates. Unfortunately there's over 2,000+ patches that have to be made available to workstations during deployments. Due to SCCM's 1,000 update per deployment rule 5 different software update groups were created along with 5 different deployments. Some clients were receiving all deployments but some were not. It was getting frustrating spot-checking 800 PCs to see if they were queued up ready for the maintenance window.

Adam Bertram Avatar Adam Bertram

< 1 min. read

Rebuild/Defragment Your WSUS Database Indexes

I've realized it's important to keep your SQL indexes properly maintained. I'm no SQL DBA but from what I hear, consistently ensure your indexes are defragmented is a good thing.

Adam Bertram Avatar Adam Bertram

2 min. read

Building Logs for CMTrace with PowerShell

In a previous life, I managed Microsoft's System Center Configuration Manager (SCCM) product. I was a SCCM ninja. One of the coolest things I got out of that was learning about the CMTrace log utility. �Part of the System Center Configuration Manager Toolkit, CMTrace is a log viewing utility that allows you to watch logs, in real time, as well as point out various potential problems through yellow and red highlighting, a sortable timestamp column and more.

Adam Bertram Avatar Adam Bertram

5 min. read

Automatic SCCM to WSUS Software Update Sync

My client uses Configuration Manager for software updates and has been for a long time. It works well and they're used to the workflow. As you may know, Configuration Manager uses WSUS to manage a lot of the heavy lifting regarding software updates and works just fine (well..most of the time). You shouldn't try to implement another solution just because of the extra management that it brings unless your hand is forced. Let me tell you a story unless you don't want to hear my ramblings and just want to download it now.

Adam Bertram Avatar Adam Bertram

4 min. read

Unable to Connect to WSUS Database: Solved!

If you're struggling with getting your SCCM software update point to sync with WSUS, prepare yourself to see what I've done to fix it.

Adam Bertram Avatar Adam Bertram

< 1 min. read

Subscribe to Adam the Automator

Get the latest posts delivered right to your inbox