VMware Cloud Community
lukeglazebrook
Enthusiast
Enthusiast

Upgraded to PowerCLI to 6.5 gettings used to the changes, any idea what the equivelent of "Connect-VIServer" is

Upgraded to PowerCLI to 6.5 getting used to the changes, any idea what the equivalent of "Connect-VIServer" and what the syntax would be...

For example I currently connect into the infrastructure with ....

"Connect-VIServer -Server myserver.domain.internal -User user@myserver.domain.internal -Password MyPassword

I need to make all my old scripts work

Thanks in advance.

Reply
0 Kudos
3 Replies
LucD
Leadership
Leadership

That cmdlet stayed the same, still Connect-VIServer.

Why 6.5 and not 10, is that for compatibility reasons?


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

Reply
0 Kudos
lukeglazebrook
Enthusiast
Enthusiast

I just googled "download latest PowerCLI" and found 6.5 as being the latest.

https://www.google.co.uk/search?q=download+latest+PowerCLI&rlz=1C1CAFB_enGB719GB719&oq=download+late...

Reply
0 Kudos
LucD
Leadership
Leadership

That is most probably because PowerCLI 6.5R1 is the last one where a MSI file was needed for the installation.

From 6.5.1 (which is not 6.5R1), the PowerCLI modules are available via the PowerShell Gallery.

See also Welcome PowerCLI to the PowerShell Gallery – Install Process Updates

PS: this is a better Google search


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

Reply
0 Kudos