The (censored) command I use is as follows:
Connect-NTNXCluster -Server ntnxcluster.domain.local -Username email@example.com -Password $Password
The $Password has been converted to secure string ($Password = ConvertTo-SecureString *Password* -AsPlainText -Force)
I get the following error:
Connect-NTNXCluster : Count cannot be less than zero.
Parameter name: count
At line:1 char:1
When I use the same command without the Password switch:
Connect-NTNXCluster -Server ntnxcluster.domain.local -Username firstname.lastname@example.org
It will prompt me for the password and it will work.
What am I missing here?
Best answer by aluciani
This is known bug and we are currently re-writing the Nutanix PoSh cmdlets, will keep you posted. Thanks