Microsoft PowerShell执行策略定义何时可以运行脚本或加载配置文件。执行策略的可能值为:
Restricted, AllSigned, RemoteSigned, Unrestricted, Bypass, Undefined.
您可以使用以下命令检查当前执行策略设置:
PowerCLI C:\> Get-ExecutionPolicy
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
标签:策略,配置文件,修改,ExecutionPolicy,RemoteSigned,执行,PowerShell From: https://blog.51cto.com/ganzy/8240660