powershell获取脚本执行权限

clutter
Author

dd21

Published

December 5, 2022

管理员权限执行powershell

Set-ExecutionPolicy -ExecutionPolicy Unrestricted

参考地址:https://docs.microsoft.com/zh-cn/powershell/module/microsoft.powershell.core/about/about_execution_policies?view=powershell-7.2