How can I get the VM of vSphere vCenter?

I use vSphere 6.0 Update 1 b, and PowerCLI 6.0 Update 2

I need to move my VM vCenter to a new data store.  The only thing I don't know is the name of the vCenter VM VM (this may change).

I have the VI server object for my vCenter Server, which is returned from the connect-VIServer cmdlet

Is there a way I can use the VI server object to get the VM vCenter, or is it possible to ask all virtual machines which is a vCenter?

Appreciate any guidance.

Maureen

Thanks for the help, that's what I did.

$vctObj = to connect-viServer $vctIPAddress

$vmList = get-vm-Server $vctObj

$vctVMObj = $vmList | {When | $_.guest.} {IPAddress-match $vctObj.Name}

Thanks for the help.

Tags: VMware

Similar Questions

Maybe you are looking for

  • Value of the loop 'For' pass before the complete loop - FPGA

    Hello 8.5 LV, LV FPGA, PCI 7831-R FPGA Board I got a cramp of brain on this one.  I have a function (Arb. GIS read) that Im using to generate an arbitrary signal which I created in memory.  I can't move to the value of data however.  I don't know why

  • Pre 3 WebOS bugs

    I'm lucky enough to be the owner of a smartphone Pre 3 and, while I generally enjoy the experience, I've already fallen on what appears to be 2 bugs within a week or so to own the handset. 1. it is not possible to change the order of your contacts in

  • What does "WSST_Engine.MFC has stopped working" mean?

    This is the message appears on my screen every morning.  My Vista OS runs 24 hours a day.  I don't know what an is.or of engine WSS done.

  • want to send to multiple numbers

    Hello I send the msg to the unique number, but I want to send to the several numbers .is there no easy way to send the msg to multiple numbers without using a lot of conditions. concerning Anthony singh

  • HP Lightscribe model: dvd555s

    Need a driver for widows 8.1 for my Lightscribe dvd555s. How can I find a. Thank you