问题:
powershell中不能执行脚本,提示‘because running scripts is disabled on this system’
原因:
powershell中默认的execution policy 是restricted,使用Get-ExecutionPolicy查看
解决方法:
设置execution policy为remotesigned
Set-ExecutionPolicy RemoteSigned
问题:
powershell中不能执行脚本,提示‘because running scripts is disabled on this system’
原因:
powershell中默认的execution policy 是restricted,使用Get-ExecutionPolicy查看
解决方法:
设置execution policy为remotesigned
Set-ExecutionPolicy RemoteSigned
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。