今天在安装北极星使用命令启动服务时候报错:
无法加载文件 C:\Windows\System32\install-windows.ps1。未对文件 C:\Windows\System32\install-windows.ps1 进行数字签名。无
法在当前系统上运行该脚本。有关运行脚本和设置执行策略的详细信息,请参阅 https:/go.microsoft.com/fwlink/?LinkID=135170 中
的 about_Execution_Policies。
+ CategoryInfo : SecurityError: (:) [],ParentContainsErrorRecordException
+ FullyQualifiedErrorId : UnauthorizedAccess
执行命令
Set-ExecutionPolicy Unrestricted -Scope CurrentUser