Hello Community,
I’m trying to do 2 seperate things with PSAppDeployToolkit. Copy a file to shared desktop and install an .exe file. When i run the file i get an according to the text below. It seems the -path command isn’t working. I’m kind of new to this and feel a bit lost as how to progress.
<![LOG[[Installation] :: Error Record:
Message : A parameter cannot be found that matches parameter name ‘Path’.
InnerException :
FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Commands.GetProcessCommand
ScriptStackTrace : at , C:\Windows\IMECache\8e7cf9fb-da60-47d1-9a35-60612db2d24b_1\Deploy-Application
.ps1: line 140
at , : line 1
at , : line 1
The line is powershell looks like this;
PS C:>Execute-Process -Path ‘softphone.exe’ -Parameters ‘/S’ -IgnoreExitCodes ‘1,2’
So what am i missing?