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 general it will mean that, on completion, it will show all deployments and settings targeted to a collection and relevant for the device.
Show Collection Details Form
This script creates a nice form to show more 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):
- The Name of the Collections, of which the device is a member.
- The Name of the targeted Deployments.
- The Type of the targeted Deployments.
- (NEW!) The State of the targeted Deployments.
Note: When there is there is no targeted Deployment, or no Deployment State (like with Client Settings), then the field will show a star (*).
This script can be used, either ‘standalone’, or as a right-click option. The command line usage is like this PowerShell.exe -ExecutionPolicy ByPass .\ShowCollectionDetails_v0_5p.ps1 -ResourceId <ResourceId> -SiteCode <SiteCode> -SiteServer <SiteServer>. To see how to use this as a right-click option, have a look at my previous post.
As of today the first version of my Show Collection Details Form is publicly available via the TechNet Galleries. Please let me know what you think of the form.