Are these ESX or ESXi hosts ?
If they are ESXi hosts, is the Lockdown Mode perhaps enabled ?Blog: http://lucd.info | Twitter: @LucD22 | PowerCLI Reference co-author: http://tinyurl.com/hkn4glz
They are all ESX 4.1 hosts.
Can you connect using VMware vSphere Client?
If you can the problem with PowerCLI is most likely that you hava e special symbols in your password. You can use the following syntaxt to escape the chars:
$pass = 'pa$$word'
I hope this helps.
PowerCLI Develpment Team
You may have hit the nail on the head there the root password contains $
I followed your directions and typed the following
connect-viserver 10.45.1.1 -User root -Password pass
BUt still got the same error and I have confirmed that I can connect directly to the host with the vSphere client.
Use single quotes(') not double quoutes("). They have different meaning in PowerShell context
Here is your fix:
PowerCLI Development team
Thanks dude. I'm still getting to grips with this powershell stuff.
You are welcome.
PowerCLI Development Team