SCCM 2012 output collection members

This topic contains 0 replies, has 1 voice, and was last updated by  Forums Archives 5 years, 9 months ago.

  • Author
    Posts
  • #5253

    by dw_anderson at 2012-11-01 09:57:15

    I want to output members of a device collection to a file. I imported the sccm 2012 powershell module. Here is what I have so far.

    get-cmdevicecollection -name "eyemaginations" | gc membercount

    Here's an example of the output:

    get-cmdevicecollection : The adapter cannot get property "ReadCount" for
    "[SecurityVerbs(-1)]
    instance of SMS_Collection
    {
    CollectionID = "CMB00100";
    CollectionRules = {
    instance of SMS_CollectionRuleDirect
    {
    ResourceClassName = "SMS_R_System";
    ResourceID = 16779309;
    RuleName = "L-01382";
    },
    instance of SMS_CollectionRuleDirect
    {
    ResourceClassName = "SMS_R_System";
    ResourceID = 16779896;
    RuleName = "SEI_117";

    Thanks in advance.

    by DonJ at 2012-11-01 13:23:22

    It looks like you've got an error that needs to be dealt with; have you considered posting to our System Center-specific forum?

    by dw_anderson at 2012-11-02 05:39:19

    thanks Don, will do

You must be logged in to reply to this topic.