Windows Server 2008 R2에서 PowerShell을 어떻게 업그레이드할 수 있나요?

Windows Server 2008 R2에서 PowerShell을 어떻게 업그레이드할 수 있나요?

Windows Server 2008 R2에서 Windows PowerShell 1.0을 사용하고 있습니다. Windows 8에서 PowerShell 3.0을 사용해 보았는데 괜찮아 보입니다.

이제 질문은 Windows Server 2008 R2 시스템에서 PowerShell을 어떻게 업그레이드할 수 있습니까?입니다. 3.0을 사용할 수 없는 경우 사용 가능한 최신 버전으로 업그레이드할 수 있는 방법이 있습니까?


Name             : ConsoleHost
Version          : 2.0
InstanceId       : f0b6480c-be55-429d-a197-65604de5887e
UI               : System.Management.Automation.Internal.Host.InternalHostUserInterface
CurrentCulture   : en-US
CurrentUICulture : en-US
PrivateData      : Microsoft.PowerShell.ConsoleHost+ConsoleColorProxy
IsRunspacePushed : False
Runspace         : System.Management.Automation.Runspaces.LocalRunspace

답변1

그것은 불가능합니다. Windows PowerShell 2.0은 Windows Server 2008 R2에 포함되어 있습니다. 2008 R2에서는 지원되는 방식으로 Windows PowerShell 1.0을 설치할 수 없습니다.

실행 중인 PowerShell 버전을 확인하려면 $host변수를 에코하면 됩니다.

Name             : Windows PowerShell ISE Host
Version          : 3.0
InstanceId       : 711f19be-3f19-4612-bea3-61899c1a73c2
UI               : System.Management.Automation.Internal.Host.InternalHostUserInterface
CurrentCulture   : en-US
CurrentUICulture : en-US
PrivateData      : Microsoft.PowerShell.Host.ISE.ISEOptions
IsRunspacePushed : False
Runspace         : System.Management.Automation.Runspaces.LocalRunspace

답변2

PowerShell 2.0은 Server 2008 R2에 포함되어 있습니다. PowerShell 3.0은 Windows 8 및 Server 2012에 포함되어 있습니다. PowerShell 3.0은 Server 2008 R2에 설치할 수 있습니다.

다음 지침은 이 페이지에서 발췌되었습니다.http://technet.microsoft.com/en-us/library/hh847837.aspx

  1. Windows Management Framework 3.0을 설치하기 전에 이전 버전의 Windows Management Framework 3.0을 제거하십시오.

  2. 다음 Microsoft 다운로드 센터에서 Microsoft .NET Framework 4.0(dotNetFx40_Full_setup.exe)의 전체 설치를 설치합니다.https://go.microsoft.com/fwlink/?LinkID=212547.

  3. 또는 다음 Microsoft 다운로드 센터에서 Microsoft .NET Framework 4.5(dotNetFx45_Full_setup.exe)를 설치하십시오.https://go.microsoft.com/fwlink/?LinkID=242919.

  4. 다음 Microsoft 다운로드 센터에서 Windows Management Framework 3.0을 설치하세요.https://www.microsoft.com/en-us/download/details.aspx?id=34595.

이 페이지에서는 Server 2008(비 R2) 및 Windows 7에 PowerShell 3.0을 설치하는 방법도 설명합니다.

답변3

파워셸 4.0Windows Server 2008 R2에서 사용할 수 있는 최종 버전입니다.

전제 조건은 다음과 같습니다.

이는 다음의 일부로 설치됩니다.Windows 관리 프레임워크 4.0.

답변4

현재 버전을 유지하려면 Windows Server 2008 R2를 계속 실행하고 있으며 PowerShell 2.0을 사용하고 있다고 가정하세요.

Windows PowerShell에서 다음 코드를 실행합니다.

Import-Module servermanager
Add-WindowsFeature powershell-ise

관련 정보