Execute is not recognized

Hi,
hope all well, started used PSADT, i just encounter this error not sure where im going wrong.

Execute - Process -Path “$\Setup_Plaxis2DOutputViewerx64_21.01.00.479.exe” -Parameters “/S”
Execute : The term ‘Execute’ 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 - Process -Path "$\Setup_Plaxis2DOutputViewerx64_21.01.00.479 …
  •   + CategoryInfo          : ObjectNotFound: (Execute:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
    
    
    

pls run main .ps1 file first from AppDeployToolkit folder to run this execute-process function.

1 Like

I am running PSADT 4.06, main.ps1 is not part of the package. What is the alternative?

That’s because you went too far back.
This thread is 4 years old and PSADT v4 is not even 6 months old.
There is no *main.ps1 in PSADT V4.

Have you looked at How to Deploy · PSAppDeployToolkit ?

In case the OP is still here, they had spaces inbetween ‘Execute - Process’!

4 Likes