Running Powershell Script (.ps1) from Windows Terminal


Open up your command line and enter (change the file name):

powershell -NoProfile -ExecutionPolicy Bypass -File “name-of-file.ps1”