在win7/WINDOWS SERVER 2008 R2上安装 vmware POWERcli 6.5

安装.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,下载地址:点击打开链接 

原文地址:https://www.cnblogs.com/itfat/p/7267344.html