vSphere 6.5 Upgrade Considerations Part-1
May 18, 2017
Understanding How Host Profiles Handles Host-Specific Configuration Settings Through Customizations
May 18, 2017

PowerCLI 6.5.1 Installation Walkthrough

This post was originally published on this site
We released PowerCLI 6.5.1 two weeks ago and the response has been incredible! The VMware.PowerCLI module is closing in on 4,000 downloads from the PowerShell Gallery and we’ve received a ton of good feedback.

There seems to be quite a few questions and comments over this new installation method so I created a walkthrough video to illustrate the process for PowerShell version 5.0 as well as for versions 3.0 and 4.0. We’ve also collected the most common errors and issues during the installation process and included troubleshooting steps for those below.

Walkthrough Video

Common Troubleshooting Steps

If there happens to be an issue during the installation process, here’s a couple of the top tips we have seen on working around them:

  • The process cannot access the file ‘C:Users…AppDataLocalTemp…’
    • Ensure previous versions of PowerCLI are uninstalled and all PowerShell sessions are closed.
    • Verify the file isn’t being blocked by an antivirus software.
  • A command with name ‘verb-noun’ is already available on this system.
    • This is due to a module already available on the system containing that cmdlet. The more common example modules include FailoverClusters and HyperV.
    • Append “-AllowClobber” to the Install-Module command line.
      Example: Install-Module –Name VMware.PowerCLI –Scope CurrentUser –AllowClobber
  • No match was found for the specified search criteria and module name ‘VMware.PowerCLI’
    • This could be due to a lack of connectivity to the PowerShell Gallery.
    • If a proxy can be used, the “Install-Module” cmdlet can configure proxy connectivity with the “Proxy” and “ProxyCredential” parameters.
      Example: Install-Module –Name VMware.PowerCLI –Scope CurrentUser –Proxy ‘http://my.proxy.company.com’
  • Could not get response from query ‘https://www.powershellgallery.com/api/v2/package/VMware.VimAutomation.Core/…’
    • This warning is just indicating there is an issue establishing connectivity to the PowerShell Gallery. Retry the installation at a later point in time and it should succeed.

Summary

We are really excited about this release and what this means for the future of PowerCLI! Upgrade to PowerCLI 6.5.1 today, and keep that feedback rolling in!

The post PowerCLI 6.5.1 Installation Walkthrough appeared first on VMware PowerCLI Blog.

Sanjeev
Sanjeev
Currently leading vepsun.com, global certification preparation portal. Vepsun is the Education Service company focused on the Niche skills development with presence across the globe. Sanjeev comes with wholesome experience in Mobile Applications, Web and Cloud/Social Successful IT Practitioner & Technical evangelist with extensive exposure in the Global markets across US, UK, Continental Europe, and a deep competency around IT Infrastructure Services. Proven track record of handling complex large scale IT Transformation assignments while delivering excellent results and utmost client satisfaction. Has held senior positions in the areas of Solution architecture, Technology excellence, Pre-sales, Product management, Service Delivery and led multiple Datacenter transformation initiatives. Over his 12+ years of consulting experience he has crafted a niche for his interests and aspirations that revolve around the sectors that cater towards IT/ITeS. An excellent speaker, articulate writer, adept negotiator, he would consider any task successful in which he would be able gain progressive experience and work for result oriented challenging assignments, which allow him to utilize his skills to the fullest. With his organizations, he has aimed at defining, implementing and maintaining a responsible, professional, quality based culture, which provides ample opportunities for learning and growth. He is a strong believer in Smart work. A practical, honest and approachable person having a high degree of integrity and strongly believe in teamwork. Specialties: Training, Coaching, Blended Learning, Understanding people, building relationships, bridging the business-technology divide.

Leave a Reply

Your email address will not be published. Required fields are marked *