Use PowerShell to change script rules; use Windows Terminal to open prettier tabs for it, becuase Terminal does not control execution policy. PowerShell execution policies decide whether .ps1 files can run, with common values like Restricted, RemoteSigned, and Unrestricted [source: Microsoft]. If script is blocked, fix the policy in PowerShell, not in Terminal.
TLDR: PowerShell is the tool that changes script rules. Windows Terminal is a nice place to run PowerShell, Command Prompt, WSL, and Azure Cloud Shell in tabs. For example, if 25 laptops need a signed setup scrpt, setting RemoteSigned once can save about 10 minutes per machine. That is over 4 hours of “why won’t this run?” pain gone.
PowerShell is the engine
Think of PowerShell as the car engine. It runs commands. It runs scripts. It checks rules before those scripts start.
Those rules are called execution policies. They are not a magic shield. They are more like a polite bouncer at a club. They ask, “Do we trust this script?”
The common policies are simple:
- Restricted: No scripts. Commands still work.
- RemoteSigned: Local scripts can run. Downloaded scripts need a trusted signature.
- AllSigned: Every script needs a trusted signature.
- Unrestricted: Scripts can run, but warnings may appear.
- Bypass: No prompts. No blocks. Use with care.
For most home users and small teams, RemoteSigned is the sweet spot. It is not too grumpy. It is not too wild.
Windows Terminal is the fancy window
Windows Terminal is not PowerShell. It is the app that holds shells. You can open PowerShell in one tab. Then Command Prompt in another. Then WSL in another. Nice and tidy.
Honestly, it feels like people blame Windows Terminal because it is the thing on screen. Fair. The error shows up there. But Terminal is just the stage. PowerShell is the actor who forgot the line.
If a script fails with something like this:
running scripts is disabled on this system
Do not dig through Terminal themes. Do not change fonts. Do not yell at your monitor. Well, maybe a tiny yell.
You need a PowerShell command.
The safe command most people need
Open PowerShell. If you are in Windows Terminal, open a PowerShell tab. Then run this:
Set-ExecutionPolicy -Scope CurrentUser RemoteSigned
This changes the policy for your user only. That is good. It avoids poking the whole machine. It also avoids calling IT because you changed too much. Nobody wants that ticket.
You may see a prompt. Type Y and press Enter if you trust what you are doing.
To check the result, run:
Get-ExecutionPolicy -List
This shows policies by scope. Scopes matter. A company rule may beat your user rule. If your work laptop says no, it may really mean no.
Which tool should you use?
Use PowerShell when you need to:
- Enable script running.
- Check execution policy.
- Run a
.ps1file. - Run admin commands.
- Fix blocked script errors.
Use Windows Terminal when you want to:
- Open many shells in tabs.
- Keep work clean.
- Use split panes.
- Save profiles.
- Make the window less ugly.
So the short version is this: PowerShell changes behavior. Windows Terminal changes comfort.
One time script run
Sometimes you do not want to change policy forever. Maybe you downloaded a setup script from a trusted source. Maybe you need to run it once and move on.
You can use this:
powershell -ExecutionPolicy Bypass -File .\setup.ps1
This is useful. It is also sharp. Do not run random scripts from the internet. That is how a “quick fix” becomes a sad afternoon.
The admin trap
Some guides tell you to open PowerShell as administrator right away. That can work. It can also be too much.
Start with CurrentUser. It is cleaner. It affects only you. If you still get blocked, then check whether a machine policy or company policy is in charge.
It drives me crazy that the error message rarely says this in plain words. You can lose 30 seconds opening settings, then another minute checking Terminal profiles, when one policy command was the real fix.
Image not found in postmeta
Best simple setup
Here is a calm setup for most people:
- Install or open Windows Terminal.
- Open a PowerShell tab.
- Run
Set-ExecutionPolicy -Scope CurrentUser RemoteSigned. - Run
Get-ExecutionPolicy -Listto verify it. - Run trusted scripts only.
That is it. PowerShell controls script execution. Windows Terminal makes the work nicer. Use both, but blame the right one when scripts refuse to run.