nrm : 无法加载文件 C:UsersTANGAppDataRoaming pm rm.ps1,因为在此系统上禁止运行脚本。

1.win+s 搜索powershell 以管理身份运行

2.使用set-ExecutionPolicy RemoteSigned命令将计算机上的执行策略更改为 RemoteSigned,输入Y确定

3.查看计算机执行策略get-ExecutionPolicy

原文地址:https://www.cnblogs.com/lingblog/p/11845011.html