Scripts

Welcome to the Nutanix NEXT community. To get started please read our short welcome post. Thanks!

cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot connect CMDlets to Cluster

Trailblazer

Cannot connect CMDlets to Cluster

Hey,

 

I installed the Cmdlets from Prism element. 

 

I can succesfully start it, but when I try to connect to my cluster

(As described here: https://portal.nutanix.com/#/page/docs/details?targetId=API-Ref-AOS-v50Smiley Tongues-ps-cmdlets-c.html)

 

I get this error:

 

Connecting to Cluster Error.PNG

 

What am I missing here?

 

Seba

4 REPLIES
Nutanix Employee

Re: Cannot connect CMDlets to Cluster

@sverhoevne

 

Just to confirm, Are you able to login to prism with this account?

 

Please share the AOS and powershell version.

 

Also,can you try the below command:

 

connect-ntnxcluster instead of connect-nutanixcluster

 

If still you reveive error, can you share the logs located in below location?

C:\Users\<usename>\AppData\Local\Temp\NutanixCmdlets\logs

 

Regards,

Sandeep MP

Trailblazer

Re: Cannot connect CMDlets to Cluster

Hey @sandeepmp

 

For the moment I don't have time to further look into this matter since we did a workaround for this month.

 

Next month we will make some time to test this again, I will come back to your answers then.

 

Thanks for the fast reply!

 

Seba

Adventurer

Re: Cannot connect CMDlets to Cluster

Are you on AOS 5? Try "Connect-NTNXCluster", think I saw it was changed to this.
Trailblazer

Re: Cannot connect CMDlets to Cluster

 

Guys,

 

I forgot to install .net framwork 4.0 on the VM I was using to connect..

 

It's all good now.

This is the command i used:

 

 Connect-NutanixCluster -Server server_name -UserName admin_username -AcceptInvalidSslCerts

 

Thanks for the replies.

 

seba