我想在 Windows 上尝试Scoop,它的文档通过运行询问“必须为您的用户帐户启用 PowerShell”
PS > Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
当我运行命令时,我看到一条警告说
Execution Policy Change
The execution policy helps protect you from scripts that you do not trust. Changing the execution policy might expose
you to the security risks described in the about_Execution_Policies help topic at
https:/go.microsoft.com/fwlink/?LinkID=135170. Do you want to change the execution policy?
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "N"):
应该采取哪些措施来降低这种风险?在安装 Scoot 之后以及在运行 Scoop 命令之间将策略重置回 Undefined 会更好吗?