2017-10-08 9 views
0

PowerShell에서 WMI를 사용하려고합니다. 다른 컴퓨터를 연결하기 위해, 나는 New-CimSession은 Windows 7에서 사용할 수 없습니까?

$CimSession = New-CimSession -ComputerName 127.0.0.1 

를 사용하지만 오류가있어 :

The term 'New-CimSession' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

어떤 아이디어?

답변

1

윈도우   7 원래 New-CimSession cmdlet을 introduced in PowerShell version 3했다 반면, PowerShell을 버전 2와 함께.

this download으로 컴퓨터 (SP1 이상)를 PowerShell 버전 5.1 (이 문서 작성 시점의 현재 버전)으로 업그레이드 할 수 있습니다. 사용 가능한 업그레이드 옵션에 대한 개요는 see here입니다.