Category: Blog

Blog, Configuration Manager 2012

How to configure Automatic Client Upgrade in SCCM

INTRODUCTION Microsoft recently released the Cumulative Update 1 which fixed a lot of bugs that was introduced with Configuration Manager 2012 R2 SP1. One of the nice features with Configuration Manager R2 SP1 CU1 is that it is now possible to Automatically Upgrade clients to the latest CU version. Automatic Client Upgrade was present before but it only worked for new builds of the client, i.e Service Packs. One trick here to keep in mind is that when installing the…

Read more
Blog, Configuration Manager 2012, Powershell

Powershell script for configuring collection update refresh settings in SCCM

INTRODUCTION Sometimes you might want to configure how collections update in SCCM. Accomplishing this for a few collections works fine using the GUI, but if you want to change collection update settings for hundreds, or thousands of collections at the same time, this is not a viable option. SOLUTION If you need to do this, use the script I have created. It reads the collections IDs from a file called collections.txt that needs to be in the same folder as the…

Read more
Blog, Configuration Manager 2012, Configuration Manager Current Branch, Powershell

Powershell script to export a list of all dependencies for an SCCM Task Sequence

Here is a Powershell script I wrote the other day which exports a list of all dependencies for a specific Task Sequence to a CSV file. How to run it: 1. Run the script using .\Export-Task_Sequence_Dependencies.ps1 -TSID “Task Sequence Package ID” 2. Open dependencies.csv to find the dependencies for the given Task Sequence. Please provide any feedback you might have. You can also find the script in the TechNet Gallery.

Read more
Blog, Powershell

Powershell script to add Active Directory users to groups using a CSV file

INTRODUCTION When adding a bulk of groups to different Active Directory group you should use Powershell. Use the script in this post to accomplish this. SOLUTION This script simply adds the users specified in the Users column in to the groups specified in the Groups column in the CSV. Grab the script and an example CSV from the TechNet Gallery. The script is also available below:

USEFUL POSTS Powershell script to copy files to current user profile Powershell script…

Read more
Blog, Powershell

Powershell script to set Outlook 2010/2013 signature using information populated from Active Directory

I updated the Signature Script that I posted last year with some bug fixes and improvements. You can download the *.zip file which includes the script and an example *.docx template from the TechNet Gallery. If you want to have a look at the script, here it is:

Read more
Blog, Powershell

Powershell Script to Only Install Patches Not Already Installed

INTRODUCTION If you are trying to do a script based installation of several hotfixes, you will most likely see that the script will fail if the hotfix is already installed. SOLUTION Here is a way of solving it, so only hotfixes that are not installed will be applied.

Read more
Blog

How To Use Powershell to Copy a File to a New Directory

INTRODUCTION Here’s just a short tip for you. If you want to copy a file to a folder that does not already exist, you can’t just run the regular command:

If you do, you will get this error: Copy-Item: Could not find a part of the path ‘C:\NewFolder\file.txt’ SOLUTION Instead, you need to create the create the folder before copying the file. Use the below one-liner.

RELATED POSTS Powershell script to copy files to current user profile Powershell…

Read more
Blog, Configuration Manager 2012

Error when accessing content directly from Distribution Point for OS Image during OSD in SCCM

INTRODUCTION The other day I was at a customer and I ran in to this problem: Empty location for package: _SMSTSBEN0004A   The problem here is related to how the OS Image gets downloaded/applied during the task sequence. At this customer, the Task Sequence was set to Access content directly from the distribution point, which is an option I usually don’t set, because I prefer to download the image first to the client before applying it. Keep in mind if you…

Read more
WordPress Theme built by Shufflehound.