2014-11-20 1 views
1

Powershell 3 SDK를 설치하지 않고도 Windows XP, Vista 및 7에서 작동하도록 Powershell 3 SDK 기능을 얻는 올바른 방법은 무엇입니까?Powershell SDK 3

어셈블리 :

는 기본적으로이 명령은 설치 파워 쉘 3.0없이 윈도우에서 실행하는 system.management.automation.dll : 문제

Import-Module NetConnection 
Get-NetConnectionProfile | ForEach-Object {Set-NetConnectionProfile -InterfaceIndex $_.InterfaceIndex -NetworkCategory Private} 

답변

1

모듈을 .. 즉 NetConnection하지입니다 Powershell SDK의 일부입니다. 그것은 Windows Server 2012/8 자체의 일부입니다. 참조 - http://technet.microsoft.com/en-us/library/dn264983(v=wps.620).aspx

포인트는 이전 운영 체제에 Powershell V3을 설치 한 경우에도 도움이되지 않습니다. 해당 모듈은 다른 핵심 Windows 구성 요소 자체에 종속 될 가능성이 큽니다. (예 : root/StandardCimv2/MSFT_NetConnectionProfile에있는 WMI 클래스의 래퍼)

+0

이제 알았습니다. 고맙습니다. – MatBee

관련 문제