I already have some vbs example to get the collection ID of a collection, get the parent collection of a collection, set the update schedule on a collection and create a collection with a query.

Now I'm trying to find some vbs example to do these tasks :

-To be able to list the membership rule(s) inside a collection (Rule name)
-In the Query Rule Properties, able to know if the collection as a limitation on another collection.
-Modify, if needed, the two tasks above.

0 Comments   [ + ] Show Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.


MSDN/TechNet have extensive documentation of the SCCM Object Model, along with sample scripts.

You could do worse than start here, though.
Answered 07/14/2011 by: VBScab
Red Belt

Please log in to comment

Please log in to comment
download the SDK there is stacks of examples in there.
Answered 08/01/2011 by: jmcfadyen
Fifth Degree Black Belt

Please log in to comment
Answer this question or Comment on this question for clarity