The term ' Execute-Process' is not recognized as a name

First time setting up PSADT from scratch. New to running PSADT 4.06.

Simple script to launch CMD to run a CLI executable.
Execute-Process -FilePath "$envSystem32Directory\cmd.exe" -Parameters "$envProgramFilesX86\Dell\CommandUpdate\dcu-cli.exe /configure -importSettings=$envProgramFilesX86\Dell\CommandUpdate\ForceUpdate.xml"

I get the error:
The term 'Execute-Process' 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.

What am I missing?

The name of ALL 3.x functions have been changed to prevent name collisions.

This should help: v4 Function Mapping · PSAppDeployToolkit

3 Likes

Thank you for the fast reply and reference.
Start-ADTProcess solved my initial problem, to show me my next error. Maybe a new topic.

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.