Update Collection Membership in ConfigMgr 2012 via PowerShell

A few weeks ago I’ve got the question if it is possible to speed-up the collection membership update after a new device was added to the database via my Import Comport Form. The short answer is, of course, yes! As this answer would make a really short blog post, I decided to put some more time in it. My first answer could have been, why can’t you wait on the incremental update cycle. As by default, the Use incremental updates for this collection is selected (and grayed-out) for the All Systems collection and the default Interval for Collection Membership Evaluation is five minutes (see this post for more information). Solution Now what can we do when either five minutes takes to long, or the default …

Read more

Updated: Import Computer Form v0.8 – Directly adding a User Device Affinity in ConfigMgr 2012

A few months ago I released the first public version of my Import Computer Form. I’ve had some nice feedback about it and also some good ideas for added functionality. This update will mainly be about three things: Cleaning-up old code, by merging a few lines and adjusting some queries. Adding error catching, by introducing an error provider for faulty input. Adding functionality, by introducing an option to add a User Device Affinity/ Primary User. Overview These additions mean that this version gives the user the possibility to perform the following actions, without the need of access to and/ or a locally installed ConfigMgr console: Fill in a Computer name. Fill in a MAC Address. Select an OS Deployment Collection. Select a Primary User. Import …

Read more

Just Released: Import Computer Form v0.7

Today I released a public version of my Import Computer Form. Many has been written about scripts to Import Computer Information in ConfigMgr 2012, via PowerShell, but there was never a worked-out example (like all the different HTA’s there where for the previous version). That’s why I thought it would be nice to post an example form to just simply Import Computer Information in ConfigMgr 2012. Again, like with my Approval Manager, I did NOT use the PowerShell Cmdlets for ConfigMgr 2012, but just PowerShell to WMI. The main reason for that is, still the same, that using WMI, via PowerShell, is much friendlier for remote usage. Import Computer Form This public version gives the user the possibility to perform the following actions, without the …

Read more