Hi Afgdd,
I connect to my LAB VC via powercli.
Once connected if i fire the following command it gives a output from where i can pick up the IP.
===========================
Command : $defaultVIServer |Select Id, Name,Version,User
===========================
Please let me know if this helped.
Regards,
Amit Kadam