Several permissions for running PowerShell scripts
1. Restricted: by default, no script is allowed to run
2. Allsigned: only scripts signed by digital certificates can be run
3. Remotesigned: running a local script does not require a digital signature, but running a script downloaded from the network must have a digital signature
4. Unrestricted: all scripts are allowed to run, but you will be prompted whether to operate before running
5. Bypass: allow all scripts to run without any prompts and warnings.
View current permissions
Get-ExecutionPolicy
Modify permissions
set-ExecutionPolicy RemoteSigned