I have a vb.net (2015) application that performs various SCCM functions. One of these functions is a collection lookup. So it does a recursive search and displays the path using the SMS_CollectToSubCollect WMI class.
We have recently migrated to SCCM 2012 and this function no longer works because 2012 uses folders not sub collections. Does anyone know how I can accomplish this function in SCCM 2012?