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…

0

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,…

0

Configuration Manager Client Messaging SDK is now on NuGet.org

The Configuration Manager Client Messaging SDK is now published on NuGet.org. This release also has several bug fixes. For more information, see the post on the Enterprise Mobility and Security blog.

0

PowerShell: How to add enhanced detection methods to deployment types (1705 TP)

Update: These cmdlets did not make it into the 1704 TP, but they will be in the 1705 TP. This posting has been updated to correct this. In the upcoming 1705 technical preview of Configuration Manager, we have finally added the much-requested ability to add enhanced detection method clauses to deployment types PowerShell. This posting…

3

PowerShell: How to add compliance settings and rules to configuration items (1705 TP)

Update: These cmdlets did not make it into the 1704 TP, but they will be in the 1705 TP. This posting has been updated to correct this. In the upcoming 1705 technical preview of Configuration Manager, we have finally added the much-requested ability to add Settings and Rules to Configuration Items from within PowerShell. This…

0

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…

0

Using signed PowerShell scripts with configuration items and applications

Edit: The deployment type detection method issue will be resolved in 1706 Current Branch. It will also be available for testing in 1705 Technical Preview. 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…

4

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…

2

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…

1