<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article Clone-List Function in VMware PowerCLI Documents</title>
    <link>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/Clone-List-Function/ta-p/2783398</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;If you've been managing a virtual environment for any period of time you've probably received an email requesting that you clone a long list of VMs prior to an upgrade.&amp;nbsp; I have received this request a variety of times and decided this needed to be automated.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in;"&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif; "&gt;The function performs the following tasks:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif; "&gt;Clones each VM with suffix "clone-"&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif; "&gt;Places the cloned VM in the same folder as the original to maintain permissions for application owners.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif; "&gt;Assigns clone to random host within the cluster. This was done in case the clones needed to be started up on a cluster where DRS is not enabled or available.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif; "&gt;Sets clone to Thin provisioned disks&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif; "&gt;Works for live and cold clones&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif; "&gt;Runs Asynchronously so it will initiate multiple clones simultaneously&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif; "&gt;Ability to set parameters if you wish to target the clones to a different folder, datastore, or Thick disk.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P style="margin: 0in;"&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif; "&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri;"&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif; "&gt;I've used this function several times and has saved me a ton of time.&amp;nbsp; Hope it helps you as well.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri;"&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif; "&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri;"&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif; "&gt;Josh&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri;"&gt;&lt;A href="http://www.vtesseract.com/post/16447807254/clone-list-powercli-function"&gt;http://www.vtesseract.com/post/16447807254/clone-list-powercli-function&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Jan 2012 02:57:32 GMT</pubDate>
    <dc:creator>aerodevil</dc:creator>
    <dc:date>2012-01-25T02:57:32Z</dc:date>
    <item>
      <title>Clone-List Function</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/Clone-List-Function/ta-p/2783398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;If you've been managing a virtual environment for any period of time you've probably received an email requesting that you clone a long list of VMs prior to an upgrade.&amp;nbsp; I have received this request a variety of times and decided this needed to be automated.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in;"&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif; "&gt;The function performs the following tasks:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif; "&gt;Clones each VM with suffix "clone-"&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif; "&gt;Places the cloned VM in the same folder as the original to maintain permissions for application owners.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif; "&gt;Assigns clone to random host within the cluster. This was done in case the clones needed to be started up on a cluster where DRS is not enabled or available.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif; "&gt;Sets clone to Thin provisioned disks&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif; "&gt;Works for live and cold clones&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif; "&gt;Runs Asynchronously so it will initiate multiple clones simultaneously&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif; "&gt;Ability to set parameters if you wish to target the clones to a different folder, datastore, or Thick disk.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P style="margin: 0in;"&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif; "&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri;"&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif; "&gt;I've used this function several times and has saved me a ton of time.&amp;nbsp; Hope it helps you as well.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri;"&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif; "&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri;"&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif; "&gt;Josh&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri;"&gt;&lt;A href="http://www.vtesseract.com/post/16447807254/clone-list-powercli-function"&gt;http://www.vtesseract.com/post/16447807254/clone-list-powercli-function&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2012 02:57:32 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/Clone-List-Function/ta-p/2783398</guid>
      <dc:creator>aerodevil</dc:creator>
      <dc:date>2012-01-25T02:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: Clone-List Function</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/Clone-List-Function/tac-p/2783399#M156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great function Josh, thanks for sharing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2012 05:59:26 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/Clone-List-Function/tac-p/2783399#M156</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2012-01-25T05:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: Clone-List Function</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/Clone-List-Function/tac-p/2783400#M157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The script is really good. I'm planning to automate the process of deleting the clones as well. Could you please let me know a complete script which will delete the previous clones once the fresh clone is created. Appreciate your help in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2014 10:26:34 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/Clone-List-Function/tac-p/2783400#M157</guid>
      <dc:creator>muthuvairavantu</dc:creator>
      <dc:date>2014-04-23T10:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: Clone-List Function</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/Clone-List-Function/tac-p/2783401#M158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Josh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am beginner in power CLI, I ran the scripts and it did not show any output likely because i need to supply a list of VMs which will be cloned. please let me know how to import of csv file as input. Please add that as part of script and share.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a bunch !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2014 11:06:40 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/Clone-List-Function/tac-p/2783401#M158</guid>
      <dc:creator>vinod_sikka</dc:creator>
      <dc:date>2014-06-17T11:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: Clone-List Function</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/Clone-List-Function/tac-p/2783402#M159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You'll note that the example provided on vTesseract.com is done by getting a list from a text file.&amp;nbsp; You could do similar with a CSV&lt;/P&gt;&lt;P&gt;Import-CSV &amp;lt;csvfile.csv&amp;gt; | Select &amp;lt;server-name-field&amp;gt; | Clone-List&lt;/P&gt;&lt;P&gt;I wasn't able to test this at the moment but something along these lines should work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2014 03:53:06 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/Clone-List-Function/tac-p/2783402#M159</guid>
      <dc:creator>aerodevil</dc:creator>
      <dc:date>2014-08-19T03:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: Clone-List Function</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/Clone-List-Function/tac-p/2783403#M160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for the delayed response.&amp;nbsp; All of the clones get a prefix of "clone-"&amp;nbsp; you could potentially use that to have a list for deleting.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2014 03:54:27 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/Clone-List-Function/tac-p/2783403#M160</guid>
      <dc:creator>aerodevil</dc:creator>
      <dc:date>2014-08-19T03:54:27Z</dc:date>
    </item>
  </channel>
</rss>

