You would think this would be easy. When I log into vcenter with powerCLI it shows your vcenter server,port and user. Is there a command to run and check which vcenter servers you are connected to?
I have been googling but found nothing...
Tried Get-Visession but that yields nothing
Check the variable $global:defaultviservers.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Check the variable $global:defaultviservers.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Thank you!