Powershell installed software registry

Sure it is an old script, but there aint a faster way to get a realtime list of installed software using powershell, guaranteed. List installed programs using registry and powershell. The wmi approach i m going to cover the wmi first only because you should never. Use powershell to quickly find installed software scripting blog.

Most installed software registers itself in one of four places inside the windows registry. The getsoftware function reads both the 32 and 64bit locations for software installed for all users. How to create a list of your installed programs on windows. The windows powershell registry provider lets you get, add, change, clear, and delete registry keys, entries, and values in windows powershell. Using powershell to get installed software, you can build a completely free tool that you and your team can use to easily find installed software on many windows computers at once. One thing to take away is use the registry method for normal installations and the.

Find the product guid of installed software with powershell. Finding installed software with powershell on windows. Powershell makes it really easy to query the registry using getitemproperty. By creating a simple powershell script, and using a little registryfu, we can create a function that easily extracts this information. Gathering installed software using powershell microsoft. Using powershell to get a list of installed software from. Use powershell to get installed software with a simple script. Find installed software using wmi and stdregprov one thing i wouldnt do though is to rely on scripting techniques, powershell or otherwise to service as a. Here is a very quick way of finding installed software. Querying the registry is an effective way of finding out all installed programs in windows 10. Using powershell to get a list of installed software from a remote. How to get installed software list with version numbers using. There are several registry locations where installed software is logged. One is through wmi and another is by looking in the registry.

Reading installed software from registry power tips power tips. In powershell, you will need to use one of the registry virtual drives to read from the. The wmi approach im going to cover the wmi first only because you should never. Find installed software using wmi and stdregprov it is not too difficult to query the registry with powershell. Here is a quick powershell function called getinstalledsoftware. Join the jar tippers on patreon it takes a lot of time to write detailed blog posts like this one. Installed software is tracked in 2 hives in the registry, depending on how it was installed. The registry provider lets you access a hierarchical namespace that consists of registry keys and subkeys. It is possible as windows powershell mvp marc van orsouw points out to add additional keys to wmi using the registry provider, and mimic. Find installed software power tips power tips idera community. We can use powershell to check whats installed on a machine that can be used for reporting or verification with pester to make sure all the correct software and right versions are installed. Checking the installed software versions by using powershell allows you. Powershell will give you a list of all your programs, complete with the version, name of the developer, and even the date you installed it.

1535 1657 1678 886 677 400 861 1133 868 184 496 1538 571 389 319 1552 1626 156 1448 956 1146 720 736 131 370 601 698 725 703 66 1353 1149 667 1190 592 127 1377 789 1490 43