Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 214415

Re: Connect-VIServer fails

$
0
0

You try it without username and password parameter and see if it prompts you for one. if it does, it means it got the correct value from the DB for the vCenter part.

 

You then need to do the same for Username and Password.

 

$realvCenterIP = (Write-outPut $vCenterIP).vCenterIP

$realvCenterUser = (Write-outPut $vCenterUser).vCenterUser

$realvCenterPassword = (Write-outPut $vCenterPassword).vCenterPassword

 

Use that to do the Connect-Viserver

Connect-VIServer -Server $realvCenterIP -User $realvCenterUser -Password $realvCenterPassword


Viewing all articles
Browse latest Browse all 214415

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>