Not to resurrect a dead horse… but I’m having problems
by following the above Execute-MSI -Action 'Install' -Path '$dirFiles\WinAgent64bit\WinAgent64bit.msi' -Parameters "SERVERURL=“http://CISFORCOOKIE.COCKIE.com:4884/AppServer`” SRVPOLTMPL="00000-0000-0000-0000-000000000""`
If you use single quotes in poweshell, the string in between the quotes is taken as pure text. If you use double quotes, variables in the string get expanded. So in this case, just use double quotes for -Path.