Does the vSphere PowerCLI need to be installed on the vcenter server or can it be installed on my workstation?
On your Workstation or "AdminPC" which also can be a VM for automated stuff.
Todays vCenter is a Appliance named VCSA and you could not or should not install software there. Also its not based on Windows anymore.
Regards,
Joerg
Moderator: Thread moved to the dedicated PowerCLI area.
I'm having a hard time trying to find the PowerCLI on VMware's site.
Since PowerCLI 6.5.1 it can be found on the PSGallery.
Just run the following from a PS prompt.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
I entered the command, it went through the install but I do not see it on my workstation.
I found the PowerCli download. It's hidden under vSphere 6.5 Drivers & Tools.
What would you expect to see?
When the installation went ok, you should now be able to start using PowerCLI cmdlets.
What happens when you enter for example Get-PowerCLIConfiguration at a PowerShell prompt?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
That download is only there if you need to install PowerCLI on a station that can not reach the PSGallery.
Don't use this when Install-Module works.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
I get, Get-PowerCLIConfiguration is not recognized
What does the following return?
Both from a PS prompt
Get-Module -Name VMware.PowerCLI -ListAvailable
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
PS C:\WINDOWS\system32> $env:PSModulePath
C:\Users\ssmith\Documents\WindowsPowerShell\Modules;C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules;C:\Program Files (x86)\VMware\Infrastructure\PowerCLI\Modules
PS C:\WINDOWS\system32> Get-Module -Name VMware.PowerCLI -ListAvailable
PS C:\WINDOWS\system32>
You still seem to have an older, MSI based, PowerCLI installation on your station.
That needs to be removed first.
Follow the steps described in Welcome PowerCLI to the PowerShell Gallery – Install Process Updates
and Updating PowerCLI through the PowerShell Gallery
That 2nd link describes how to uninstall an old MSI-based PowerCLI installation.
Start there.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference