I am trying to figure out a way to report on all applications and packages installed by CM on each system in my environment. I need to report on the Package/App Name, Package/App ID, Install date. I am very aware of the existing reports that pull from Programs and Features but this does not help with Package/App ID or even CM Package/App name.
The closest thing i have come across is the .ps1 from pdxcat on github -
https://github.com/pdxcat/SCCMScripts/blob/master/get-executionhistory.ps1
It reports: Package Name, PackageID, Program, Version, State, Start Time, Exit Code and is pretty much what i am looking for other than i would really like to pull this into CM via an existing process such as H/W inventory scan. The main information resides beneath: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\Mobile Client\Software Distribution\Execution History\System. i have toyed with h/w class extensions but unless i missed something this would be extremely tedious.
So, i am throwing this out to see if anyone has some insight into either:
1. How to mine this info via h/w inventory or similar so it is slipped right into CM
or
2. How i might take the output of the aforementioned .ps1 and get it into CM - (running .ps1 local, outputting to .csv, importing .csv data is all i could come up with **in my head**)
Image may be NSFW.
Clik here to view.
Thoughts?