Tagged: ConfigMgr (SCCM)

1

Breaking your collections down into smaller subsets

A common requirement, when deploying something to a larger group of computers is, that you don’t want to distribute it to all at once. It might be as simple as targeting a smaller subset of devices for testing purposes, or you want to spread the distribution incrementally over a series...

VPN 1

Creating a collection of VPN devices

With so many people working from home these days, handling devices that are connected via VPN has become challenging for many companies. Looking at this from the ConfigMgr perspective, there are several aspects that we might want to do differently, depending on if a device is connected via VPN or...

2

PowerShell CIM CmdLets – Working with lazy properties

In my last post, I explained how to solve one of the stumbling blocks when working with the PowerShell CIM CmdLets. The second problem, which was both pretty nasty as it basically prevented me from using the CIM CmdLets properly for SCCM and pretty time consuming, as it was hard...

2

CIM vs. WMI CmdLets – The top reasons I changed over

Some time ago I moved most of my WMI related work from the “deprecated” PowerShell WMI CmdLets (Get-WMIObject, Invoke-WMIMethod, etc.) over to the “new” CIM CmdLets (Get-CimInstance, Invoke-CimMethod, etc …). It wasn’t really because they are “deprecated”. Microsoft might treat them this way, but they will for sure be around...

0

Exporting Task Sequences from ConfigMgr to plain xml files

In the last blog post I showed a script that would allow you to import a Task Sequence from an xml file as the ones being created by the Task Sequence monitoring script (see https://maikkoster.com/versioning-monitoring-sccm-task-sequences/ for details). As this covered a need that I basically created myself by publishing a...

2

Importing Task Sequences into SCCM/ConfigMgr

The Problem One of my probably mostly used scripts is a VBScript that monitors for any changes on Task Sequences in SCCM and exports a copy for backup purposes when an updated task sequence is saved. Please see https://maikkoster.com/versioning-monitoring-sccm-task-sequences-update-for-sccm-2012/ for further details about the script itself. Even it has been...

3

Start, Cancel or Delete a SCCM Client Operation

In my last post, I demonstrated how to call the InitiateClientOperation method from the SMS_ClientOperation WMI class to run a SCEP Full Scan. However, this call itself is pretty limited for daily administration, as it requires “internal” information like the CollectionID, ResourceID or some TypeID for the Operation itself. Probably...

1

Initiate SCEP Full Scan by script using SCCM Client Operations

Lets assume you have a security device that detects computers possibly infected by some malware. Wouldn’t it be nice to automatically initiate some immediate action for remediation? I recently had such a requirement where we wanted to automatically start a definition download and full scan on those computers. It’s pretty...

0

Announcement – The most advanced OSD book yet

I’m very proud to announce the most advanced OSD book yet, available on November 20, 2014. This is Stealing with Pride – Volume 1! Written by the Deployment Artist Johan Arwidmark and some contribution by me, this is the ultimate source for the working IT Pro who wants to customize...