Forum Discussion

vetadmin's avatar
vetadmin
Copper Contributor
Jul 28, 2022

Execute MSP

Trying to run this command and it fails and gives error as such. Any idea where I might be going wrong

 

Installdir = "c:\temp\install_adobe"
New-Item -Path $Installdir -ItemType directory

 

This is the command executed  shown below and get error.

Execute-MSP -Path '$Installdir\AcrobatDCx64Upd2200120169.msp' -ArgumentList "/sAll /rs /rps /msi /norestart /quiet EULA_ACCEPT=YES"

 

Error

Execute-MSP : The term 'Execute-MSP' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ Execute-MSP -Path '$Installdir\AcrobatDCx64Upd2200120169.msp' -Argume ...
+ ~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Execute-MSP:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException

Resources