I do not understand what is the difference between
Invoke-Expression & something
and
Start-Process something
Can one please explain it with an example. And is call operator & from Powershell or Docs.
Thanks alot.
I do not understand what is the difference between
Invoke-Expression & something
and
Start-Process something
Can one please explain it with an example. And is call operator & from Powershell or Docs.
Thanks alot.
The call (&) and Invoke-Expression are used to execute something, basically run it. See the Call Operator here:
Start-Process provides a more parameter based approach with functionality such as waiting for completion to get exit codes rather than just starting a process. There are examples included in the documentation.
Many thanks for the rich info.