Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

powershell:此系统上禁止运行脚本 #309

Closed
livelycode36 opened this issue Jun 15, 2024 · 0 comments · Fixed by #310
Closed

powershell:此系统上禁止运行脚本 #309

livelycode36 opened this issue Jun 15, 2024 · 0 comments · Fixed by #310
Labels
question Further information is requested

Comments

@livelycode36
Copy link
Contributor

livelycode36 commented Jun 15, 2024

Version
vfox 0.5.2

OS

  • Windows 11 专业工作站版 23H2
  • powershell 1.20.11381.0

Question Description
在powershell运行如下命令之后Invoke-Expression "$(vfox activate pwsh)",powershell提示此系统上禁止运行脚本scripts is disabled on this system

image

需要以管理员身份重新打开powershell,运行Set-ExecutionPolicy -ExecutionPolicy RemoteSigned才可以
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant