http://msdn.microsoft.com/en-us/library/ff637750.aspx 클레임
Windows PowerShell 2.0은 Windows Server 2008 및 Windows Vista에만 설치해야합니다. Windows Server 2008 R2 및 Windows 7에 이미 설치되어 있습니다.
그러나 powershell.exe는 % SystemRoot % \ system32 \ WindowsPowerShell \ v1.0 \ powershell.exe에 있습니다. PowerShell 2.0이 아닌 것 같습니다. powershell.exe의 파일 버전은 6.1.7600.16385이므로 그다지 도움이되지 않습니다.
Window PowerShell 2.0이 설치되어 있고 설치되어 있지 않은 경우 Windows 7의 다운로드 링크는 어디에 있는지 어떻게 알 수 있습니까?
$Host자동 변수를 사용하십시오 . 그러나 사양에서 구현별로 표시되어 있습니다 (다시 말해 사양Get-Host에는 전혀 표시되지 않음).