fbpx

How Do You Run A Script In Powershell?

5

Run A Script In PowerShell? Launch Windows PowerShell, and wait a moment for the PS command prompt to appear Navigate to the directory where the script lives PS> cd C:\my_path\ (enter) Execute the script: PS> .\run_import_script.ps1 (enter) If it fails, you should check “setexecutionpolicy” Steps: Launch a Windows PowerShell window run as an administrator. Navigate … Read more