Set-ExecutionPolicy -ExecutionPolicy <PolicyName>
#Example:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
#To set the execution policy in a particular scope:
Set-ExecutionPolicy -ExecutionPolicy <PolicyName> -Scope <scope>
#Example:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser