VSCode PowerShell 提示“无法加载文件,因为在此系统上禁止运行脚本”的解决方法 这主要是Windows自身设置Restrict模式。 管理员身份打开PowerShell,然后执行 set-executionpolicy remotesigned 然后回答:Yes就行了。