Skip to content

疑难解答

SummonHIM edited this page Jan 28, 2023 · 1 revision

无法在我的电脑运行 PowerShell 脚本。系统提示因为在此系统上禁止运行脚本。

PowerShell 默认不允许使用脚本,可使用 PowerShell 执行以下命令解除锁定。详细信息可前去 https://go.microsoft.com/fwlink/?LinkID=135170 了解。

Set-ExecutionPolicy -Scope CurrentUser RemoteSigned

无法在Win7、Win8运行这个脚本。脚本提示我的 PowerShell 版本过低

Win7 和 Win8 用户可以前去 https://docs.microsoft.com/powershell/scripting/windows-powershell/wmf/setup/install-configure?view=powershell-5.1 下载并更新你的 PowerShell 版本。XP 用户请考虑升级 Win10。

Clone this wiki locally