VMware Cloud Community
esxi1979
Expert
Expert

Connect-VIServer xxx -User administrator@vsphere.local

Connect-VIServer xxx  -User administrator@vsphere.local -Password  xxx

is not working for me

But when i use vsphere client i can login with above username/pass

Anyone can suggest if i am missing anything here ?

thanks

Reply
0 Kudos
2 Replies
LucD
Leadership
Leadership

Any special characters in your password ?

Try enclosing the password in single quotes


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

mariocloud
Contributor
Contributor

Excellent.. addressed my pain..

Reply
0 Kudos