Comparing ConfigMgr Date Formats in PowerShell

If you have worked with ConfigMgr much, you know that uses WMI to stores tons of information.  WMI uses the CIM_DATETIME format, which looks like this: yyyymmddHHMMSS.mmmmmmsUUU.  In order to work with this in PowerShell, you need to convert it into something that the Get-Date cmdlet can understand.  Here are two ways that you can accomplish this: Using…

IT-DevConnections Session Links

Last month I had the honor of speaking at my first ever IT/Dev Connections in sunny Las Vegas.  I had the pleasure of presenting on Building the Ultimate Operating System Task Sequence with my coworker and good friend Troy Martin.  As promised, we have completed publishing a series of blogs on all the topics in…

How to minimize the risk of an OSDisaster Part 1

System Center 2012 R2 Configuration Manager does a great job of deploying Windows operating systems.  We (1E) have been able to hit some pretty high success rates in helping our customers with their Windows migrations.  However, if not done correctly, OSD can be very dangerous and can cripple your environment in a short amount of…

Building the Essential Lab (WIN-B365) Files

Below is a link where you can download the scripts and directory structure that I used in the session No Lab, No Problem! Building the Essential Lab Environment Using Microsoft Technologies (WIN-B365) that I presented at TechEd North America 2014.  For some reason they did not get uploaded to the TechEd Schedule Builder, so I…

Where to find me at TechEd NA 2014

I am extremely happy to announce that I will be presenting a session at TechEd North America 2014!  The session that I will be presenting is No Lab, No Problem! Building the Essential Lab Environment Using Microsoft Technologies (WIN-B365) on Wednesday, May 14th at 5:00 PM: The days of requiring extensive hardware and resources to build out a…

How to add computers listed in a text file to a collection

Using the new ConfigMgr 2012 PowerShell cmdlets, there are three different ways to add computers to a device collection.  Just like in the console, you can add computers via a direct membership rule (Add-CMDeviceCollectionMembershipRule), a query membership rule (Add-CMDeviceCollectionQueryMembershipRule) and also an include collection membership rule (Add-CMDeviceCollectionIncludeMembershipRule).  In order to use these cmdlets, the collection…

Creating Schedules with New-CMSchedule

If you ever did any schedule creation prior to the two new PowerShell cmdlets (New-CMSchedule and Convert-CMSchedule), then you probably already know how tricky it was working with scheduled tokens and are going to welcome these new cmdlets.  In this blog post, I am going to show you how easy it is to use New-CMSchedule…