SDK: Creating DDRs on the site server using the client messaging SDK part 2: creating System DDRs

Last year I posted about functionality in the Configuration Manager client messaging SDK to generate DDRs and provided samples on how to create a DDR for a completely custom agent type: a printer. It’s also a common scenario on wanting to generate DDRs to add additional discovery information for regular client systems. It’s very similar…


Using signed PowerShell scripts with configuration items and applications

In the past if you wanted to use a signed PowerShell script as a configuration item detection method or deployment type detection method, you would see an error on the client when it tried to process the script. Configuration Manager 2012 R2 CU2 has a fix in place to mitigate this problem and allow for…


Troubleshooting Configuration Manager Powershell cmdlets

Starting with Configuration Manager 2012 SP1, we began providing PowerShell cmdlets to assist with many management tasks. The number of cmdlets grew to over 400 with CU1 along with providing numerous fixes and enhancements to the cmdlets that shipped with 2012 SP1 RTM. If you’re experiencing problems with cmdlets, try these troubleshooting steps: Make sure that…


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: Creating DDRs on the site server using the client messaging SDK

Despite its name, the client messaging SDK also has some strictly server side functionality. In its original release with the ConfigMgr 2012 SDK, it could write state messages and status messages directly to the inboxes on the site server. In the SP1 SDK, you can now write DDR messages directly to the site inboxes. This…


SDK: How to create an application deployment type with a dependency on another application’s deployment type

Update: I was incorrect in my original statements around dependency and supersedence having equivalent code. I’ll post a future example covering supersedence. This post expands on the original sample program to demonstrate how you would add a dependency or supersedence relationship with another application. The sample here has a notable difference from the “real world”…


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…