The following powershell code will connect to your SCCM, export all the collections, and then select only those that had dynamically add new resources checked, then export to a CSV file.
gwmi sms_collection -computer SERVER -namespace root\sms\site_XXX |% {[wmi] $_.__Path}|select-object CollectionID,Name,RefreshType|where {$_.refreshtype -eq 6}| Export-csv c:\temp\SCCMcollections.csv -NoTypeInformation
If you find this article useful please leave me a comment or click on an ad to show your support.