program tip

PowerShell 버전을 2.0에서 3.0으로 업그레이드하는 방법

radiobox 2020. 8. 12. 08:05
반응형

PowerShell 버전을 2.0에서 3.0으로 업그레이드하는 방법


사용중인 OS는 Windows 7이고 여기에 설치된 PowerShell 버전은 2.0입니다. 3.0 또는 4.0 버전으로 업그레이드 할 수 있습니까?

버전 2.0에서 인식 할 수없는 cmdlet이 있기 때문입니다.


http://www.microsoft.com/en-us/download/details.aspx?id=34595 에서 다운로드하여 설치 하십시오 . 하지만 Windows 7 SP1 이 필요합니다 .

Windows 7의 PowerShell 3에는 Windows 8의 PowerShell 3과 같은 모든 cmdlet이 포함되어 있지 않으므로 시스템에없는 cmdlet이 계속 발생할 수 있습니다.


년 9 월 2015 년 같은 최신 PowerShell을 버전 입니다 PowerShell 4.0. Windows Management Framework 4.0과 함께 제공됩니다.

모든 버전의 Windows 용 PowerShelll 4.0 다운로드 페이지는 다음과 같습니다 . Windows 7의 경우 해당 페이지에 2 개의 링크가 있습니다. 1 개는 x64 용이고 1 개는 x86 용입니다.

여기에 이미지 설명 입력


콘솔에서 실행하십시오.

@powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%systemdrive%\chocolatey\bin
cinst powershell

Chocolatey 저장소를 사용하여 최신 버전을 설치 합니다.

원래는 command를 사용 cinst powershell 3.0.20121027했지만 나중에 작동이 중지 된 것 같습니다. 이 질문은 PowerShell 3.0과 관련이 있으므로 올바른 방법이었습니다. 현재 (2014 년 6 월 26 일) cinst powershellPowerShell 버전 3.0을 의미하며 향후 변경 될 수 있습니다.

설치 될 버전에 대한 자세한 내용은 Chocolatey PowerShell 패키지 페이지를 참조하세요.


  1. Chocolatey 설치
  2. CMD에서 다음 명령을 실행하십시오.

    • choco install powershell

    • choco upgrade powershell


As of today, Windows PowerShell 5.1 is the latest version. It can be installed as part of Windows Management Framework 5.1. It was released in January 2017.

Quoting from the official Microsoft download page here.

Some of the new and updated features in this release include:

  • Constrained file copying to/from JEA endpoints
  • JEA support for Group Managed Service Accounts and Conditional Access Policies
  • PowerShell console support for VT100 and redirecting stdin with interactive input
  • Support for catalog signed modules in PowerShell Get
  • Specifying which module version to load in a script
  • Package Management cmdlet support for proxy servers
  • PowerShellGet cmdlet support for proxy servers
  • Improvements in PowerShell Script Debugging
  • Improvements in Desired State Configuration (DSC)
  • Improved PowerShell usage auditing using Transcription and Logging
  • New and updated cmdlets based on community feedback

The latest PowerShell version as of Aug 2016 is PowerShell 5.1. It's bundled with Windows Management Framework 5.1.

Here's the download page for PowerShell 5.1 for all versions of Windows, including Windows 7 x64 and x86.

It is worth noting that PowerShell 5.1 is the first version available in two editions of "Desktop" and "Core". Powershell Core 6.x is cross-platform, its latest version for Jan 2019 is 6.1.2. It also works on Windows 7 SP1.


위의 링크를 사용하십시오. "이 업데이트는 컴퓨터에 적용 할 수 없습니다."오류가 발생하면 실제로 OS에 맞는 파일을 사용하고 있는지 확인하십시오. 예를 들어 Windows 7 서비스 팩 1의 해당 링크에서 Windows 2012 서버를 실행하려고 시도했는데 위의 오류가 발생 했으므로 올바른 zip을 사용해야합니다. 어떤 OS가 있는지 모르는 경우 시작 및 시스템으로 이동하면 바로 팝업됩니다. 이것은 자명하지만

참고 URL : https://stackoverflow.com/questions/19902239/how-to-upgrade-powershell-version-from-2-0-to-3-0

반응형