how to open windows powershell

execute powershell file windows

powershell -ExecutionPolicy Bypass -File script.ps1

Source: stackoverflow.com

powershell open cmd

Start-Process -FilePath cmd.exe

Source: codegrepper

how to open windows powershell

Press WinKey+X
Then click on Windows PowerShell

Source: codegrepper