ERROR MESSAGE 현재 시스템에서 이 스크 립트를 실행할 수 없습니다. 스크립트 실행 및 실행 정책 설정에 대한 자세한 내용은 about_Exe cution_Policies(https://go.microsoft.com/fwlink/?LinkID=135170)를 참조하십시오.. + CategoryInfo : 보안 오류: (:) [], PSSecurityException + FullyQualifiedErrorId : UnauthorizedAccess powershell을 관리자권한으로 다시 실행한다. 그리고 아래 명령어로 권한설정을 한다 Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine _
최근 PowerShell 7.x 버전을 Github나 MS Store에서 설치 할 수 있는데, 이를 CLI에서 설치하는 방법을 설명합니다. winget install --id Microsoft.PowerShell --source winget Winget 활용방법 PowerShell 커맨드 창에 아래와 같이 입력합니다.PSVersion : 5.1.22621 이 현재 설치/실행되는 버전입니다. $PSVersionTable 현재 설치할 수 있는 PowerShell 버전을 확인합니다.winget search PowerShell PowerShell command - CLI 활용방법iex "& { $(irm https://aka.ms/install-powershell.ps1) } -UseMS..
전체(사용자+시스템) 환경변수 RELOAD$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")# 사용자 환경 변수에 항목추가 및 RELOAD# Set Path[System.Environment]::SetEnvironmentVariable('Path', $env:USERPROFILE + "\AppData\Roaming\npm;" + [System.Environment]::GetEnvironmentVariable('Path', "User"), "User") # RELOAD$env:Path = [System...