PowerShell提示 ”无法加载文件 WindowsPowerShell\profile.ps1,因为在此系统上禁止运行脚本“

  1. win + S 打开搜索框, => 打开PowerShell
  2. 输入命令:set-executionpolicy remotesigned 并输入Y确认
posted @ 2022-11-06 21:26  -Rocky-  阅读(1102)  评论(0编辑  收藏  举报