Not at hand, cause my lab is still in transit from Germany to Australia.

The wmi classes you need to look at are sms_collection with 
sms_objectcontaineritem to look for the collection as an item inside a 
folder/container and then sms_objectcontainernode for the folder itself.
Easy peasy if you can check the classes in your environment.

hope that helps!

Sent from my Windows Phone
________________________________
From: Kehl, Reto
Sent: 21/03/2014 8:14 PM
To: [email protected]
Subject: [mssms] vbscript to list collections in a folder of the configmgr 2012 
console

anyone have such a script?
Need to enumerate all collections in a folder.

Thanks,
Reto


--
This e-mail message and any attachments are of a confidential nature. The 
information is intended for the named addressee exclusively. If you are not the 
addressee, you may not electronically disseminate, otherwise distribute or copy 
this e-mail message, and you may also not use it for any purpose. Please notify 
the sender immediately if you have received this e-mail message by mistake, and 
delete this e-mail message and its attachments.

E-mail transmissions could be lost, intercepted, corrupted or destroyed. They 
could arrive late or incomplete, or could even contain viruses. Confidentiality 
and reliability of the information so transmitted cannot be guaranteed. 
Rothschild Bank therefore does not accept any liability or responsibility for 
errors or omissions regarding the information transmitted through e-mail.

If verification of the information transmitted through e-mail is required, 
please ask for postal delivery by contacting Rothschild Bank..

This e-mail message is provided for information purposes only. It should not be 
construed as an offer or solicitation to buy or sell any financial instruments 
or services. It is not to be made available to US persons and is not to be 
circulated within the USA.







Reply via email to