In this post, we'll run a Powershell script that will perform the client checks we discussed in the last post, against multiple machines that failed to install the ConfigMgr client. Note, all the scripts in these posts are designed to run in Powershell ISE. Create a Collection for Computers without the SCCM Client The first thing … Continue reading Troubleshooting ConfigMgr 2012 Client Migration using Powershell (Part 2)
Category: Powershell
Troubleshooting ConfigMgr 2012 Client Migration using Powershell (Part 1)
In this series of posts, I want to look at practical ways to troubleshoot ConfigMgr client migrations, and include a number of Powershell scripts to help in the process. These processes were tested on a client migration from ConfigMgr 2007 R3 to 2012 R2. In my experience the majority of client migrations work well using the … Continue reading Troubleshooting ConfigMgr 2012 Client Migration using Powershell (Part 1)
Getting all Members of all Collections in a Folder in ConfigMgr
In our SCCM 2012 environment, we have a subfolder of device collections that are used for Software Updates. I wanted to get a list of all the members of the different collections in that folder. I saw a recent post by Kaido Järvemets on how to easily list folder objects using Powershell, so I decided to … Continue reading Getting all Members of all Collections in a Folder in ConfigMgr
Creating an Email Distribution Group from an SCCM Query
Sometimes I want to create an email distribution list from the results of an SCCM query, so I can email all the members to advise them about the software I am deploying to their machines, especially if the end user must initiate the deployment from 'Run Advertised Programs' (SCCM2007) or the Software Center (SCCM2012). For … Continue reading Creating an Email Distribution Group from an SCCM Query
Installing and Configuring WSUS with Powershell
In setting up our SCCM 2012 infrastructure, I decided to patch our OS deployments using WSUS instead of SCCM Software Updates. Since we have multiple distribution points in different geographical areas, I decided to install a WSUS server in each location where we do deployments. Granted, installing and configuring WSUS is not the most technically … Continue reading Installing and Configuring WSUS with Powershell
Prompting for Input During a Task Sequence
Sometimes when running an SCCM task sequence, you want to prompt for input, for example to populate a Task Sequence variable that you will use later. In this example, I am encrypting a laptop HDD (SED) using Wave ERAS, and I'm using a command-line tool that populates the pre-boot authentication screen with the AD account … Continue reading Prompting for Input During a Task Sequence
Creating SCCM2012 Packages with Powershell
This simple powershell script will create a package in SCCM2012 with a single standard program, and distribute it to your DP Group. It uses the ConfigMgr native commands, and you can add/remove/change the parameters to customise the script for your own environment. It does not create a deployment, but that's easy enough to do, just … Continue reading Creating SCCM2012 Packages with Powershell
Re-running a Task Sequence
What happens if your SCCM task sequence fails? Well you troubleshoot it, fix the problem, and rerun it. Easy to do if the task sequence is an 'available' deployment. You just refresh the machine policy on the computer, go the Software Center, or Run Advertised Programs, and run it again. And if your task … Continue reading Re-running a Task Sequence