1.查看权限 get-ExecutionPolicy 2. 输出:Restricted ,表示是受限制的 Restricted 3. 设置当前用户的权限 Set-ExecutionPolicy -Scope CurrentUser 4. 输入:RemoteSigned RemoteSigned