Install Microsoft Visual C++ Redistributable
Summary
An Automate implementation of the Invoke-VcRedistModule agnostic script to install the Microsoft Visual C++ Redistributable. By default, the script will install the supported redistributable unless a user parameter is set.
Sample Run

Variables
| Name | Description |
|---|
| ProjectName | Invoke-VCRedistModule |
| WorkingDirectory | C:\ProgramData_automation\script\Install-VCRedist |
Global Variables
| Name | Value | Accepted Values | Description |
|---|
| Debug | False | False, True | When True, enables informational logging; when False (default), informational logs are suppressed to avoid adding entries to the h_scripts table. Set to True to assist with troubleshooting. |
| ScriptEngineEnableLogger | False | False, True | When True, enables final (success/failure) logging; when False (default), these logs are suppressed to avoid adding entries to the h_scripts table. Set to True to assist with troubleshooting. |
User Parameters
| Name | Example | Required | Description |
|---|
| Release | 2019, 2012, 2013, 2022 | False | Set the release id(s) of the Redistributable to install. |
| Purge | 1 | False | Setting this parameter to 1 will remove the unsupported Redistributable and install the supported Redistributable. |