Skip to content

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                 : Microsoft Visual C++ 2015-2019 Redistributable (x64) - 14.20.27508
Version              : 14.20.27508.1
ProductCode          : {7b178cda-9740-4701-a92a-f168d213b343}
UninstallString      : "C:\ProgramData\Package Cache\{7b178cda-9740-4701-a92a-f168d213b343}\VC_redist.x64.exe"  /uninstall
QuietUninstallString : "C:\ProgramData\Package Cache\{7b178cda-9740-4701-a92a-f168d213b343}\VC_redist.x64.exe" /uninstall /quiet
BundleCachePath      : C:\ProgramData\Package Cache\{7b178cda-9740-4701-a92a-f168d213b343}\VC_redist.x64.exe
Architecture         : x64
Release              : 2019


Optional parameters

  • ExportAll - Export all installed Redistributables including the Additional and Minimum Runtimes typically hidden from Programs and Features


The following command will return the list of installed Redistributables:


Output can be filtered for specific properties:

Get-InstalledVcRedist | Select Name, Version, ProductCode

Microsoft Visual C++ Redistributables installed on the local PC

This list won't include the Additional and Minimum Runtimes by default. These can be returned with the -ExportAll switch:

Get-InstalledVcRedist -ExportAll