PowerShell: Automating creation and editing of Task Sequences in 1706 (TP and CB)

Our development team has been working hard on implementing a much requested automation scenario for PowerShell in Configuration Manager, and that’s being able to create and modify task sequence steps. Task sequence editing has three separate pieces: groups of steps, commands (such as “Install Application” and “Partition Disk”), and conditions. With 1706 Current Branch and…


Configuration Manager Updates and Servicing PowerShell automation coming to 1705 TP

By popular demand, we have added several new cmdlets in the 1705 TP for automating updates and servicing in Configuration Manager. Moving forward this should greatly simplify automated lab deployments and update scenarios. These cmdlets allow you to do all of the same functionality that you can do in the UI: get updates, download updates,…


Quick summary on how management point selection works in flexible (formerly native) mode in Configuration Manager 2012

There’s been a lot of questions as of late in the TechNet forums on how flexible mode works in Configuration Manager 2012 with regard to MP communication. I’m writing up this quick post to quickly summarize how things work in Configuration Manager 2012. In Configuration Manager 2007, there were two modes: mixed and native mode….


SDK: Creating custom inventory classes for clients with the client messaging SDK

Out of the box, the client messaging SDK contains several basic hardware inventory classes for sending inventory data such as CCM_System, Win32_NetworkAdapter, and some others. It has the ability to create inventory data on the fly from pre-formatted XML using InventoryInstanceGeneric. It also has some wrapper functionality to convert existing data in WMI to pre-formatted…


SDK: 32-bit legacy programs interoperating with the 64-bit client using COM

Update @ 2013-06-21: CU2 has been relreased and has a fix for the CPApplet issues. Please reference my latest post about this fix. Update @ 2013-06-05: A fix for the CPApplet interfaces not being accessible from 32-bit processes will be released as part of Configuration Manager 2012 SP1 CU2. I’ll write a full blog post…


SDK: How to create an Application with a requirement rule pointing to a global condition

In a previous post, I demonstrated how to create an application with an enhanced detection rule (EHD). Creating an application with a requirements rule is a bit more complicated. In this post I will provide a sample on how to do this using one of the “out of the box” global conditions that’s provided with…


SDK: In-depth sample on how to use the client messaging SDK

Update: I’ve updated this sample with ISV proxy registration capabilities. At the Microsoft 2012 Partner Day in Las Vegas there was a session previewing changes to the Configuration Manager 2012 SDK. There was a demo given with a sample program that was using the client messaging SDK to register a client, send discovery data, inventory,…


SDK: Configuration Manager 2012 SDK has RTM’ed

The final version of the Configuration Manager 2012 SDK has been released. You can download it from here: http://www.microsoft.com/en-us/download/details.aspx?id=29559. Documentation can be found here: http://msdn.microsoft.com/en-us/library/hh948960.aspx. If you had been using the client messaging SDK from the RC version of the SDK, there have been numerous fixes and improvements in the RTM version thanks to some…


SDK: How to add an enhanced detection method into an application deployment type

Update #1: I have attached the sample as a .cs file to make it easier to consume In my previous post I provided a simple sample on how to create an application with a very basic detection method. If you want to perform more advanced detection, you can leverage the desired configuration management (DCM) SDK…