VMware PowerCLI

The Best User Interface for your VMware Datacenter!

Cross vCenter Cloning

As an Admin, I want to use `New-VM` to create a VM from a clone on a different linked vCenter, so that I do not have to clone and then migrate.

  • Jake Robinson
  • Dec 19 2017
  • Shipped
  • Attach files
  • Patrick Murphy commented
    8 Apr 01:31pm

    Has anyone been able to get this working? I just installed VMWare.PowerCLI 12.3.0 and still get errors.


    I use connect-viserver server1,server2 in the beginning then call out server1 or server 2 on each command depending on what vcenter its connecting to


    New-VM The object 'vim.EnvironmentBrowser:envbrowser-17' has already been deleted or has not been completely created

  • Guest commented
    8 Apr 12:38pm

    The message you sent requires that you verify that you
    are a real live human being and not a spam source.

    To complete this verification, simply reply to this message and leave
    the subject line intact.

    Or, you can click the following link:

    http://www.tiberiansun.us/cgi-sys/bxd.cgi?a=jody.whitlock@tiberiansun.us&id=N9WFLIc69_yq_UdyLoJfr-1617885478

    The headers of the message sent from your address are shown below:

    From 01000178b17cfc38-84034f10-ca70-4642-82e0-0f7fbbc5126f-000000@amazonses.com Thu Apr 08 06:37:58 2021
    Received: from a46-204.smtp-out.amazonses.com ([54.240.46.204]:43401)
    by box2401.bluehost.com with esmtp (Exim 4.93)
    (envelope-from <01000178b17cfc38-84034f10-ca70-4642-82e0-0f7fbbc5126f-000000@amazonses.com>)
    id 1lUTv4-0038VA-0R
    for jody.whitlock@tiberiansun.us; Thu, 08 Apr 2021 06:37:58 -0600
    DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple;
    s=4r7qhhnqeyo4ua6idwngwh6uq26ebxsg; d=aha.io; t=1617885461;
    i=@iad-prod1.mailer.aha.io;
    h=Date:From:Reply-To:To:Message-ID:Subject:Mime-Version:Content-Type:Content-Transfer-Encoding;
    bh=HYtEyGzdnT90Q78+WIlLgEHbJ29fVzNoLfJ0iIlVvQY=;
    b=Fg61Kzmt8yFjcAVfB5HSOOJYSB/mOWbI8Pw9hbTfZOc2QZTBxTSzUhbEpPkgZj2Y
    KpVNS8M39R5tajHjWOEjtGPZESW2N88oOCbsY+QTpyrOJoVoy3zIR4uQpSyIHJW/HkL
    ypHqmplD8B/eqe46H151dPKXHei31CzQn3R/ZHj8=
    DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple;
    s=ug7nbtf4gccmlpwj322ax3p6ow6yfsug; d=amazonses.com; t=1617885461;
    h=Date:From:Reply-To:To:Message-ID:Subject:Mime-Version:Content-Type:Content-Transfer-Encoding:Feedback-ID;
    bh=HYtEyGzdnT90Q78+WIlLgEHbJ29fVzNoLfJ0iIlVvQY=;
    b=RRi09O7ogzqUb9cUoYEEudEq/6bIpFXTMjE92x4eLmkfZ7V8LfI3RrIUznePJc7d
    VKg6JC4uaQlr/nblV4SowNi8iUfGlAlHwbalCzZMeY7B+go1riy+tm65qDvEIWoNucF
    E+AXB5vaf5k6gs05ahkCMczPAho7qxHMfv9Qc6Z4=
    Date: Thu, 8 Apr 2021 12:37:41 +0000

  • Guest commented
    8 Apr 12:37pm

    The message you sent requires that you verify that you
    are a real live human being and not a spam source.

    To complete this verification, simply reply to this message and leave
    the subject line intact.

    Or, you can click the following link:

    http://www.tiberiansun.us/cgi-sys/bxd.cgi?a=jody.whitlock@tiberiansun.us&id=_9rzLhTVn43ZEpVlnnAVr-1617885463

    The headers of the message sent from your address are shown below:

    From 01000178b17cbff0-1b8c543d-6b06-4c2f-b996-5e16285680ed-000000@amazonses.com Thu Apr 08 06:37:43 2021
    Received: from a46-205.smtp-out.amazonses.com ([54.240.46.205]:56525)
    by box2401.bluehost.com with esmtp (Exim 4.93)
    (envelope-from <01000178b17cbff0-1b8c543d-6b06-4c2f-b996-5e16285680ed-000000@amazonses.com>)
    id 1lUTuo-0038KM-Ih
    for jody.whitlock@tiberiansun.us; Thu, 08 Apr 2021 06:37:43 -0600
    DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple;
    s=4r7qhhnqeyo4ua6idwngwh6uq26ebxsg; d=aha.io; t=1617885446;
    i=@iad-prod1.mailer.aha.io;
    h=Date:From:Reply-To:To:Message-ID:Subject:Mime-Version:Content-Type:Content-Transfer-Encoding;
    bh=fR7yfVTdzLupTXYrpq6ViYimkAdb0Fq6MOVyhyQunMU=;
    b=cp4ebvYDgIJMUUzaBNAHx7uS/LDzmsb6qz7lVHuZ4nP6UotX49Ql2Jn1VF2pinaT
    OquISrPMtB15oL4N9567XD3rlUzPnIXbYay1DJFizfH5CPnVQXJzkReSNxkTkbPuisC
    79nWDUzijfxRBeNm+mXuAg5JuZTH6+p0JRG32jj0=
    DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple;
    s=ug7nbtf4gccmlpwj322ax3p6ow6yfsug; d=amazonses.com; t=1617885446;
    h=Date:From:Reply-To:To:Message-ID:Subject:Mime-Version:Content-Type:Content-Transfer-Encoding:Feedback-ID;
    bh=fR7yfVTdzLupTXYrpq6ViYimkAdb0Fq6MOVyhyQunMU=;
    b=KElDHfiA3glmnDhyUjH1gypwQyydyAIrzakFLBoy/8YQ1a4keFwuwELL6jYFKNUl
    BPV4t/nEmVvtakBAOCM46ThnpkZPhQkHOzEmxXv56vJmQUesQyoytE+sc9q2kfB/yeS
    j1AnUYdNIcCJJMxeKJntBJXoHQPr9Kh2SZgRxR+4=
    Date: Thu, 8 Apr 2021 12:37:26 +0000

  • Admin
    Kamen Nikolov commented
    8 Apr 12:36pm

    Shipped in PowerCLI 12.3

  • Guest commented
    9 Apr, 2020 08:51pm

    I would like to be able to build a vm template ONCE, then use this or something similar to clone the template to the other vcenters.

  • Guest commented
    15 Jan, 2019 04:43am

    I have a script that can validate EVC, check datastore freespace, configure multi NIC/PGs on the VM to new destination port groups and then Move the VM. We use the script to move VMs to different “non linked/Diff SSO domain” vCenters.  I had to add an additional clone step on the source vCenter if I wanted to copy a template/VM to another vCenter.  Maybe we can add a -clone to the move-vm command (ignore the last step of deleting the vm in the move task?) or update new-vm to accept the cross vCenter (and diff SSO domain) clone.  We also use content library subscriptions to help with this but requires a lot more steps.

  • Guest commented
    9 Aug, 2018 04:07pm

    X-vCenter vMotion is already part of PowerCLI.

  • Guest commented
    15 Jun, 2018 02:28pm

    Yes please!!!!