Show Collection Details in ConfigMgr 2012 via PowerShell – Part 2: The Collection Variables

In my previous post I started a new series about showing the Collection Details of a device via a PowerShell form. This week I did some changes to the look-and-feel and added a new tab, with new information!. This new tab show all the information about all Collection Variables that affect the device. Show Collection Details Form This script creates a nice form to show Collection Details of the specified device. At this moment it shows all of the following information about the collections (of which the device is a member): Tab – Deployments The Name of the Collections, of which the device is a member.  The Name of the targeted Deployments. The State of the targeted Deployments. The Type of the targeted Deployments. (NEW!) …

Read moreShow Collection Details in ConfigMgr 2012 via PowerShell – Part 2: The Collection Variables

Show Collection Details in ConfigMgr 2012 via PowerShell – Part 1: The Deployments

In my previous post I started with creating a new PowerShell form to show the Collection Membership of a device. Last week I decided that I wanted to do more with it, so I putted it into a new “project” and form. From now on it’s called Collection Details, as that’s what it’s going to show, starting this week with the targeted Deployments. The coming weeks there will be additional parts, to this post and this “project”, with more and more information to be added to the Collection Details. So what can we all expect from the Collection Details? Well, we all know the Collection Properties per collection, the Collection Details will show a lot of those properties (and more) on a device level. In …

Read moreShow Collection Details in ConfigMgr 2012 via PowerShell – Part 1: The Deployments

Right-Click Option: Showing the Collection Membership of a Resource in ConfigMgr 2012 via PowerShell

Last week someone triggered me that it wasn’t possible to ‘just’ see all the collections that a device is a member of. The only thing I could show, and tell, him, at that moment, was the Deployments –tab in the Properties of the device. The problem with this is that it only show the collections, of which the device is a member, with a deployment targeted. So it misses all the collections, either without an deployment targeted, or with client/ antimalware settings targeted. This triggered me to create a small PowerShell script to show the Collection Membership of a specific device in a nice form. Show Collection Membership Form This script creates a nice form to show the Collection Membership of the specified device. It …

Read moreRight-Click Option: Showing the Collection Membership of a Resource in ConfigMgr 2012 via PowerShell

Changing a Site Name in ConfigMgr 2012 via PowerShell

Already a few years ago, I did a small post about Renaming your ConfigMgr Primary Site. Even though it was not a supported action, as it meant directly editing the site control file, it was sometimes necessary. Since the release of ConfigMgr 2012, I’ve had many questions if that post is still applicable. The answer on that simple, it’s not applicable for ConfigMgr 2012, as it doesn’t use the sitectrl.ct0 file in that form anymore. So, does this mean that we can’t change the site name anymore? Well, the answer on that is also, no. Of course we can still change it! The only thing to keep in mind is that we’re moving into a grey area, of what’s supported, and what’s not. PowerShell and …

Read moreChanging a Site Name in ConfigMgr 2012 via PowerShell

Changing the Deployment Package linked to an Automatic Deployment Rule in ConfigMgr 2012

This week I want to devote a post to changing the Deployment Package, which is linked to an Automatic Deployment Rule. I came on this subject as I got and read some questions about it. Actually it was not just that, also the fact that the answer was usually, that it’s not possible, at leas not via the console. As I couldn’t imagine that it’s not possible I went on a small research to see where it’s stored and how we can change it. XML and WMI Let’s start with where it’s stored. In WMI it’s stored in the class SMS_AutoDeployment and then the property ContentTemplate. Here it’s stored in XML format, like this: <?xml version=”1.0″ encoding=”utf-16″?><ContentActionXML xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xmlns:xsd=”http://www.w3.org/2001/XMLSchema”><PackageID>PTP00027</PackageID><ContentLocales><Locale>Locale:9</Locale><Locale>Locale:0</Locale></ContentLocales><ContentSources><Source Name=”Internet” Order=”1″/><Source Name=”WSUS” Order=”2″/><Source Name=”UNC” Order=”3″ …

Read moreChanging the Deployment Package linked to an Automatic Deployment Rule in ConfigMgr 2012

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 moreJust Released: Import Computer Form v0.7

Updated: Approval Manager v0.8

After I released the first public version of my Approval Manager, last week, I’ve got some nice comments on it. One of these comments was that it would be very handy to built-in some alerting. And that’s what I did in this updated version! Approval Manager This updated version gives the user the possibility to perform the following actions, without the need of access to and/ or a locally installed ConfigMgr console: Select a User from the specified Collection. Show only Approval Requests, for the selected User, that are Pending Approval. (NEW!) Show an alert when new Approval Requests, are Pending Approval, for the Users of the specified Collection. Approve, the selected, Approval Request. Deny, the selected, Approval Request. Close the form. Alerting As mentioned, …

Read moreUpdated: Approval Manager v0.8

Just Released: Approval Manager v0.7

Today I released a public version of my Approval Manager, which I mentioned a few weeks ago in my post about Managing Approval Request in ConfigMgr 2012. The biggest difference, and maybe even a contradiction with what I mentioned in that post, is that I did NOT use the PowerShell Cmdlets for ConfigMgr 2012 in this release. The main reason for that is that using WMI, via PowerShell, is much friendlier for remote usage. Approval Manager This public version gives the user the possibility to perform the following actions, without the need of access to and/ or a locally installed ConfigMgr console: Select a User from the specified Collection. Show only Approval Request, for the selected User, that are Pending Approval. Approve, the selected, Approval …

Read moreJust Released: Approval Manager v0.7

Managing Approval Requests in ConfigMgr 2012

This week I want to devote a post to managing Approval Requests in ConfigMgr 2012. I’m not going to discuss whether the current model works, or not, I’m just going to say that in general it won’t work. The reason for that is simple, because it’s just one big list for everyone and every single Approval Request. To fill a small gap here, there is the Application Approval Workflow (solution accelerator), but for that also System Center 2012 – Service Manager and – Orchestrator are required. This just doesn’t fill the gap for everyone and/ or every company. So where does this leave us? Approval Manager Instead of complaining about all this, something that’s in a humans’ nature to do, we can also look at …

Read moreManaging Approval Requests in ConfigMgr 2012