start-process pwsh
To start PowerShell, you can use the Start-Process
cmdlet followed by the path to the PowerShell executable. In this case, the path to the PowerShell executable is pwsh
. Here's the command you can use:
Start-Process pwsh
This command will start a new instance of PowerShell.