Powershell - is there a difference between `& .\monkeys.ps1` and `& powershell .\monkeys.ps1`?

powershell

Solution

'& .\monkeys.ps1' executes the script in the current console (session). '& powershell .\monkeys.ps1' opens up a new PowerShell process and executes the script.

Problem

In Powershell, is there a difference between `& .\monkeys.ps1` and `& powershell .\monkeys.ps1` ?

Original source