Microsoft's documentation on this: Link Here That is why this simple command is so slow to report back. Yes, when you run this command, it automatically runs a consistency check on all applications and performs automatic and silent repairs. It also runs a consistency check on all applications and performs automatic and silent repairs. The cost is Get-CimInstance can return incomplete data. It is not a fast command, more on that later. What you are asking for used to be done with Get-CimInstance, but that comes at a cost and as you pointed out is no longer accurate. Any answer that allows me to capture (in a Powershell script) the same list of applications that CCleaner generates in the uninstall tool will be acceptable. So my question is: How do I emulate what CCleaner does when it creates its list of programs for uninstalling - programmatically? I can execute the GUI and navigate to the uninstall tool and click "save to text file" but that isn't dynamic. Therefore, I need a list that I can create dynamically and use to check for updates and if I need to execute the installer. This makes it easy for me to keep them up to date without visiting a dozen or so websites every week or building a custom installer every time I want to update them (they don't auto-update like Chrome or Firefox). I wrote a script that installs and updates certain software packages on a regular basis. This program does not appear in the uninstall registry, and is installed in the AppData folder of the user (I'm not aware of a way to install this for all users without building a custom package). ![]() One example of this, is Atom (the Open Source text editor). This list seems to include applications in a more comprehensive way than a walk through the uninstall registry keys. ![]() ![]() CCleaner contains a tool to list and then uninstall programs on your PC.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |