VMware Horizon Community
say2sharma
Contributor
Contributor
Jump to solution

Unable to connect Connection servers from PowerCLi

We have two connection servers in Env of 7.6

I have installed powerCLI latest version on connection servers. We have 3 jump servers win2012

I tried to connect to my connection servers from connection servers and also from Jump Servers. But i am getting below errors.

pastedImage_0.png

0 Kudos
1 Solution

Accepted Solutions
say2sharma
Contributor
Contributor
Jump to solution

Ok, Problem is solved now.

My connection servers are on different domain and my id is in different domain.

I have admin access on horizon view dashboard and also on connection servers. But i am not able to connect through powershell / powercli

I picked one normal from the domain in which connection servers exist and added that ID to horizon admin group.

I can login with powercli by using domain ID of that domain.

---------------------------------------------------------------------------------------------------------

Was it helpful? Let us know by completing this short survey here.

View solution in original post

0 Kudos
5 Replies
mchadwick19
Hot Shot
Hot Shot
Jump to solution

Have you tried doing "Connect-HVServer -server <server FQDN>"

Also, have you updated powershell on these boxes? Can you provide the output of $PSVersionTable?

VDI Engineer VCP-DCV, VCP7-DTM, VCAP7-DTM Design
0 Kudos
say2sharma
Contributor
Contributor
Jump to solution

Please see the requested details

pastedImage_0.png

0 Kudos
say2sharma
Contributor
Contributor
Jump to solution

But if i use below command then getting the same error msg

Connect-HVServer -Server <Server> -User <UserName> -Password <Password> -Domain <Domain>

pastedImage_0.png

0 Kudos
mchadwick19
Hot Shot
Hot Shot
Jump to solution

Can you try updating your PowerShell version to v5?

Or instead of launching PowerCLI, can you launch powershell and run "Import-Module VMware.VimAutomation.HorizonView"

This loads just the Horizon cmdlets and works on powershell v5.1.

VDI Engineer VCP-DCV, VCP7-DTM, VCAP7-DTM Design
0 Kudos
say2sharma
Contributor
Contributor
Jump to solution

Ok, Problem is solved now.

My connection servers are on different domain and my id is in different domain.

I have admin access on horizon view dashboard and also on connection servers. But i am not able to connect through powershell / powercli

I picked one normal from the domain in which connection servers exist and added that ID to horizon admin group.

I can login with powercli by using domain ID of that domain.

---------------------------------------------------------------------------------------------------------

Was it helpful? Let us know by completing this short survey here.

0 Kudos