powershell 执行 ps1 脚本

1.管理员运行 powershell 开启权限:set-executionpolicy remotesigned
输入 Y

2.powershell 进入当前路径 .\filename.ps1

posted @ 2022-09-21 14:45  干扰项  阅读(170)  评论(0)    收藏  举报