was looking at machine to see what advertisements /packages are targeted to sccm client though you can get this information directly from SCCM reports if you have access else wrote a simple script which gives you what packages with program name,Command line used ,ADV ID,Package ID information. ON ERROR RESUME NEXT Set fso=CreateObject("scripting.filesystemobject") 'create text…