Get the Installed Redistributables
Get-InstalledVcRedist is used to return the list of Visual C++ Redistributables installed on the current system. This function can assist in performing various functions including, comparing the installed list of Redistributables against that listed in the manifests included in the module, or uninstalling the installed Redistributables.
Running the Get-InstalledVcRedist command returns the list of installed Redistributables with various properties, including the display name, product code, version and uninstall strings.
Publisher : Microsoft Corporation
Name : Visual C++ v14 Redistributable (x86)
Version : 14.50.35719.0
ProductCode : {0e4ccf1b-d073-4cfe-8a24-e86185719b56}
BundleCachePath : C:\ProgramData\Package Cache\{0e4ccf1b-d073-4cfe-8a24-e86185719b56}\vc_redist.x86.exe
Architecture : x86
Release : 14
UninstallString : "C:\ProgramData\Package Cache\{0e4ccf1b-d073-4cfe-8a24-e86185719b56}\vc_redist.x86.exe" /uninstall
QuietUninstallString : "C:\ProgramData\Package Cache\{0e4ccf1b-d073-4cfe-8a24-e86185719b56}\vc_redist.x86.exe" /uninstall /quiet
UninstallKey : HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall
Publisher : Microsoft Corporation
Name : Visual C++ v14 Redistributable (Arm64)
Version : 14.50.35719.0
ProductCode : {a111f0a4-679e-43e6-bdfe-25e176541c72}
BundleCachePath : C:\ProgramData\Package Cache\{a111f0a4-679e-43e6-bdfe-25e176541c72}\vc_redist.arm64.exe
Architecture : ARM64
Release : 14
UninstallString : "C:\ProgramData\Package Cache\{a111f0a4-679e-43e6-bdfe-25e176541c72}\vc_redist.arm64.exe" /uninstall
QuietUninstallString : "C:\ProgramData\Package Cache\{a111f0a4-679e-43e6-bdfe-25e176541c72}\vc_redist.arm64.exe" /uninstall /quiet
UninstallKey : HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall
Publisher : Microsoft Corporation
Name : Visual C++ v14 Redistributable (x64)
Version : 14.50.35719.0
ProductCode : {91ee571b-0e8a-4c65-9eaf-2e2f5fc60c00}
BundleCachePath : C:\ProgramData\Package Cache\{91ee571b-0e8a-4c65-9eaf-2e2f5fc60c00}\vc_redist.x64.exe
Architecture : x64
Release : 14
UninstallString : "C:\ProgramData\Package Cache\{91ee571b-0e8a-4c65-9eaf-2e2f5fc60c00}\vc_redist.x64.exe" /uninstall
QuietUninstallString : "C:\ProgramData\Package Cache\{91ee571b-0e8a-4c65-9eaf-2e2f5fc60c00}\vc_redist.x64.exe" /uninstall /quiet
UninstallKey : HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\UninstallParameters
Optional parameters
ExportAll- Export all installed Redistributables including the Additional and Minimum Runtimes typically hidden from Programs and Features
Examples
The following command will return the list of installed Redistributables:
Get-InstalledVcRedistOutput can be filtered for specific properties:
Get-InstalledVcRedist | Select Name, Version, ProductCode
This list won't include the Additional and Minimum Runtimes by default. These can be returned with the -ExportAll switch:
Get-InstalledVcRedist -ExportAll