Create a collection of all subcollections computers
Hi,I have a collection (A) that has 50 subcollections. I need to create a collection (B) to contain all computers of all the subcollections of collection (A). Simple yet tricky.Any idea?Thank you.Systems Engineer
February 25th, 2010 12:59pm
Hi,This should get you started:http://www.jannesalink.com/blog1.php/2009/12/07/dynamically-fill-a-collection-with-membe
Follow me through my blog and Twitter!
Free Windows Admin Tool Kit Click here and download it now
February 25th, 2010 1:09pm
Thank you Jannes, great query, but how to add more than 1 collection?for example, "WHERE collectionid IN ('P010001B'))" , how to add P010001C and P010001D to P010001B?Systems Engineer
February 25th, 2010 1:35pm
OK I found it it's simply a comma between the collection ids."WHERE collectionid IN ('P010001B','P010001C','P010001D'))" Thank you JannesSystems Engineer
Free Windows Admin Tool Kit Click here and download it now
February 25th, 2010 1:40pm