Search notes:

PowerShell Cmdlet: Start-Process

-ArgumentList

-argumentList is followed by an array that is passed as command line arguments to the executable being started:
start-process excel -argumentList /e, /p, "$pwd"
It's also possible to embed the arguments into a string:
start-process powershell -argumentList "-noExit -noProfile -command echo 'Hello world'"

Start process with administrator privileges

With -verb runas, a process can be started with administrator privileges:
start-process powershell -verb runas

Redirecting stdout, stdin, stderr

The parameters -redirectStandardInput, -redirectStandardOutput and -redirectStandardError take a string and allow to redirect stdin, stdout and stderr.

See also

start-job
The command parameter -credential.
Powershell command noun: process

Index