PowerShell gives you a number of options regarding execution policy. You use one of the following options with Set-Execution policy:
Restricted – won’t run scripts or profiles. This is the default execution policy
Allsigned – only scripts (and profiles… Read the full text.