PowerShell

On my work laptop I did not have permission to execute scripts in PowerShell. This prevented me from enabling a Python venv virtual environment.

You can enable executing remotely signed scripts for the current user only using the following command: Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser.

I added this to a PowerShell profile so that these permissions hold for each shell I boot up.

See how to create a PowerShell profile

My user profile location is stored under the $PROFILE environment variable. You can just run notepad $PROFILE to edit it (make it first though).