Automation

 View Only
  • 1.  How to get VM IP is guest is poweroff?

    Posted Jul 11, 2013 07:28 AM

    Hi all

    i want to get IP address of machine which is powered off in inventory, but $_.ExtensionData.Guest works; only when machine is powered on.

    is there any way to do that using network adapters or.. portgroups of dv-switch.
    other details:
    vCenter - 5.0
    dvs - 5.0

    Powershell - v3.0

    Thanks in Advance

    --
    kind regards

    Sanshis.



  • 2.  RE: How to get VM IP is guest is poweroff?

    Posted Jul 11, 2013 07:59 AM

    Unfortunately it is not possible to retrieve the IP address of a VM that is powered off. This is because the IP address is determined via the VMware Tools running in the guest OS. If the guest is powered off, the VMware Tools are not running and the IP address cannot be found.



  • 3.  RE: How to get VM IP is guest is poweroff?
    Best Answer

    Posted Jul 11, 2013 08:49 AM

    If the mahcine is on domain ... and if you know the FQDN of the VM then look into DNS or DHCP on your domain controller



  • 4.  RE: How to get VM IP is guest is poweroff?

    Posted Jul 12, 2013 05:55 AM

    Thats what i am currently doing; getting IPs from DNS server; Just want to double check if it is possible with any network parameter of switch.