安裝.NET Framework 4.6.2
下載NDP462-KB3151800-x86-x64-AllOS-ENU.exe,安裝
安裝PowerShell 4.0(5.0依賴4.0)
下載Windows6.1-KB2819745-x64-MultiPkg.msu,安裝。
安裝PowerShell 5.0
下載Win7AndW2K8R2-KB3134760-x64.msu,安裝。
完成后,重啟服務器。
最后安裝VMware-PowerCLI-6.5.0-4624819
Set-ExecutionPolicy RemoteSigned
Powershell是運行在windows機器上實現系統和應用程序管理自動化的命令行腳本環境。 powershell需要.NET環境的支持,同時支持.NET對象。當前powershell有四版本,分別為1.0,2.0,3.0 ,4.0 。
如果您的系統是window7或者Windows Server 2008,那么PowerShell 2.0已經內置了,可以升級為3.0,4.0。
如果您的系統是Windows 8 或者Windows server 2012,那么PowerShell 3.0已經內置了,可以升級為4.0。
如果您的系統為Windows 8.1或者Windows server 2012 R2,那默認已經是4.0了。
關於powershell 4.0更詳細的介紹:Windows Management Framework 4.0 正式版發布
powershell 4.0 需要Windows Management Framework 4.0,下載地址:點擊打開鏈接
Windows Management Framework 4.0 需要 Microsoft .NET Framework 4.5,下載地址:點擊打開鏈接