共用方式為


PowerTip: Change PowerShell Script Execution Policy

Summary : Learn how a user can change the Windows PowerShell script execution policy.
How can I change the Windows PowerShell script execution policy as simply an ordinary user?
Use the –Scope parameter with the Set-ExecutionPolicy cmdlet and specify CurrentUser (the –Force parameter hides prompts from the cmdlet):
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser -Force...(read more)