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”

Leave a Reply

Your email address will not be published. Required fields are marked *