I just upgraded to powercli 5.0 and when i run connect-viserver getting this error;
Connect-VIServer : Exception has been thrown by the target of an invocation.
Any ideas?
Does the connect work when you add a User and Password ?
And try adding the -Verbose parameter, that could give a few more pointers of what goes wrong.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
You won't believe me, but all of a sudden it started working when i ran the verbose option. Then when I ran it regularly it worked.
The mysteries of IT
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
I'm having this problem as well... but nothing is getting me beyond it. I have tired Verbose and supplying username and pw.
I'm afraid to suggest this, but did you try rebooting your PC ?
This must be the most used reply by Helpdesks :smileylaugh:
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
LOL.... no prob. Yes, that was the first thing I did. Oddly enough, I dont have this problem with using VESI Script editor... its only within the default VMware PS window.
Are you running this on a 64-bit platform ?
If yes, did you try with the 32-bit PowerCLI window ?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference