VMware Cloud Community
MrVmware9423
Expert
Expert
Jump to solution

Help Needed to upgrade Power CLI Version...

Dear Team,

I need ur help to upgrade my powercli API, following are the details

powercli installed (ver 5.0.0.3501)

OS : win2k3

mostly all ESX ver is 4.1.0 260247

vcenter version:4.1.0 (258902) and 345043

When i open powercli it's taking very long time to open (approx 15mins)... and following is the snap of the same.

pcl.JPG

for new powercli version, please help me with he download link=for the same.

regards

Mr VMware

Reply
0 Kudos
1 Solution

Accepted Solutions
RvdNieuwendijk
Leadership
Leadership
Jump to solution

Because PowerCLI is based on PowerShell, I would upgrade PowerShell first. Although I am not sure if it matters.

ESX 4.1 is not mentioned in the VMware vSphere PowerCLI 5.1 Release 1 Release Notes. That means it is not supported. In this case you may better keep PowerCLI 5.0. Or upgrade to PowerCLI 5.0.1 that you can download from http://www.vmware.com/downloads/download.do?downloadGroup=PCLI501.

Blog: https://rvdnieuwendijk.com/ | Twitter: @rvdnieuwendijk | Author of: https://www.packtpub.com/virtualization-and-cloud/learning-powercli-second-edition

View solution in original post

Reply
0 Kudos
6 Replies
RvdNieuwendijk
Leadership
Leadership
Jump to solution

PowerShell 2.0 is part the of the Windows Management Framework that you can download from http://support.microsoft.com/kb/968929.

You are also not using the latest PowerCLI version 5.1 Release 1. You can download PowerCLI from http://communities.vmware.com/community/vmtn/server/vsphere/automationtools/powercli.

PowerCLI 5.1 Release 1 is supported with:

  • vCenter Server 4.1 Update 2
  • VMware ESXi 4.1 Update 2
Blog: https://rvdnieuwendijk.com/ | Twitter: @rvdnieuwendijk | Author of: https://www.packtpub.com/virtualization-and-cloud/learning-powercli-second-edition
MrVmware9423
Expert
Expert
Jump to solution

Many thanks Robert,

Once i download both, then which needs to be installed first???

will PowerCLI 5.1 Release 1 is supported with esx4.1 we are not using esxi4.1???

regards

Mr VMware

Reply
0 Kudos
RvdNieuwendijk
Leadership
Leadership
Jump to solution

Because PowerCLI is based on PowerShell, I would upgrade PowerShell first. Although I am not sure if it matters.

ESX 4.1 is not mentioned in the VMware vSphere PowerCLI 5.1 Release 1 Release Notes. That means it is not supported. In this case you may better keep PowerCLI 5.0. Or upgrade to PowerCLI 5.0.1 that you can download from http://www.vmware.com/downloads/download.do?downloadGroup=PCLI501.

Blog: https://rvdnieuwendijk.com/ | Twitter: @rvdnieuwendijk | Author of: https://www.packtpub.com/virtualization-and-cloud/learning-powercli-second-edition
Reply
0 Kudos
MrVmware9423
Expert
Expert
Jump to solution

Dear RvdNieuwendijk,

Many thanks for the help and support.

**********Answer******************

1) i have downloaded the powershell and install the same. ( while installing it will automatically upgrade the powershell version), folowing are the details

Windows Management Framework Core (WinRM 2.0 and Windows PowerShell 2.0)
WindowsServer2003-KB968930-x64-ENG.exe Download the Windows Management Framework Core for Windows Server 2003 x64 Edition package now.

While installing above windows update i.e. WindowsServer2003-KB968930-x64-ENG.exe , getting "Access is denied error", then to resolve the same i have done the following things

if admin is not able install any update or application then do this changes in registry.jpg

2) then downloaded the powercli i.e. (VMware-PowerCLI-5.0.1-581491) and installed the same

In this way i have upgraded my powershell and powercli. Special thanks to RvdNieuwendijk,

regards

MrVMware

Reply
0 Kudos
nsahoo93
Contributor
Contributor
Jump to solution

Hi Team ,

I need Power Cli for my VCenter version 6.7.

Reply
0 Kudos
LucD
Leadership
Leadership
Jump to solution

The latest version of VMware PowerCLI works with vCenter 6.7, see the interoperabiity matrix.

On an Internet connected station you can just do Install-Module -Name VMware.PowerCLI.
See also Welcome PowerCLI to the PowerShell Gallery – Install Process Updates


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos