Skip to content

Instantly share code, notes, and snippets.

@sorie
Created July 10, 2021 09:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sorie/7f48c8b83184bec68f47da7e458ab031 to your computer and use it in GitHub Desktop.
Save sorie/7f48c8b83184bec68f47da7e458ab031 to your computer and use it in GitHub Desktop.
vs code powershell 에서 PSSecurityException에러를 만났을 때
에러이유 : 관리자가 아닌 ms 계정으로 로그인한 윈도우10에서 Visual Studio Code 에서 Vue 개발환경을 설정하던 중 보안 오류가 발생함.
해결방법 :
d:\sori> Get-ExecutionPolicy -Scope CurrentUser
d:\sori> Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser
d:\sori> Get-ExecutionPolicy -List
관련문서
https://docs.microsoft.com/ko-kr/powershell/module/microsoft.powershell.core/about/about_execution_policies?view=powershell-7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment