I am new for PowerCLI Scripting. If I connect with my local host (192.168.1.170)
. Its connected successfully. But If I connect with Virtual Machine (192.168.1.179)
. Its throws an error. Details as follows.
PowerCLI C:\Program Files\VMware\Infrastructure\vSphere PowerCLI> Connect-VIServ
er 192.168.1.179 -User Administrator
Connect-VIServer : 5/25/2012 7:59:02 PM Connect-VIServer Network conn
ectivity error occured. Please verify that the network address and port are cor
At line:1 char:17
+ Connect-VIServer <<<< 192.168.1.179 -User Administrator
+ CategoryInfo : ObjectNotFound: (:) [Connect-VIServer], ViServer
+ FullyQualifiedErrorId : Client20_ConnectivityServiceImpl_Reconnect_BadNe
Note: if I ran the Script Get-VM
. I don't get any VM name.
Please Help me. what all are step I do???
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)