PowerShell:因为在此系统上禁止运行脚本

PowerShell:因为在此系统上禁止运行脚本
解决方法:
运行以下:

set-executionpolicy remotesigned
Set-ExecutionPolicy -Scope CurrentUser
当出现“请为以下参数提供值”时,输入:remotesigned

问题解决,重新执行之前的命令PowerShell:因为在此系统上禁止运行脚本