Set Less Restrictive Execution Policy within Powershell

Enter the following powershell commands to lessen the executionpolicy security. Unrestricted has no restrictions, whereas remotesigned works with remotely signed code, for instance when managing 365 from powershell.

set-executionpolicy remotesigned 

or

set-executionpolicy unrestricted