Execute MSI with PowerShell and return the MSI exit code

I had the need to execute a MSI and get the script to return the exit code for a MSI installation. This is the script that I came up with.

 

No comments yet.

Leave a Reply