portinstant.blogg.se

Parallels desktop duplicate virtual machine
Parallels desktop duplicate virtual machine





parallels desktop duplicate virtual machine parallels desktop duplicate virtual machine
  1. #Parallels desktop duplicate virtual machine how to
  2. #Parallels desktop duplicate virtual machine code

) Get-Module -ListAvailable VMware* | Import-Module | Out-Null Using this script we were able to deploy a new RDC image to over 650 locations on nights and weekends in about a week.

#Parallels desktop duplicate virtual machine how to

I ran out of time when trying to figure out how to pass more than one parameter to a function when calling that function using Start-Job, so I just created a separate function for the three locations instead.

parallels desktop duplicate virtual machine

It runs between 7PM and 6AM Mon-Fri, and all day Saturday and Sunday. Specify the name and folder for the virtual machine clone. NOTE: The virtual machine shut be in shut down state. Right-click on the chosen virtual machine in Parallels Desktop Control Center > Clone. To make a clone do the following: Start Parallels Desktop. It deploys 5 from the Irving location, 15 from Plano, and 15 from Atlanta at the same time. Answer A clone is a separate virtual machine fully identical to the original one. It deploys it from 3 different VM Hosts in different data centers across the country. The following is a script I wrote over the past couple of days that deploys a VM template to about 650 of our servers.

#Parallels desktop duplicate virtual machine code

I've found in testing that cloning within vSphere starts to slow down once about five separate clone jobs are running, so I'd like to modify this script to run four clones (doing the whole workflow) at once.Īny ideas? I can paste the code if needed. What I'd really like to somehow is multithread it to make the whole operation faster. The only problem is it's running all serially, waiting for the entire process (clone, change VLAN, boot machine and wait for domain join, and move final machine object to a different AD OU) to finish before starting another clone. Each machine takes about 35 minutes before it's ready to go (machine is moved to a different AD OU). At this point, it works fine and successfully clones all the machines that it reads in from a CSV file. Instead of the $Step counter throughout the script, I've simply replaced it with some Start-Sleep delays. I've modified it a little bit so I don't have to change a value and re-save the script for each step of the process. I found a very nice script over on MSFT TechNet that does everything I need it to do. I've got the template machine already configured and "sealed." Once it's cloned and powered on, the newly-cloned instance will boot up, sit there for a while while it syspreps, etc. Rather than clicking hundreds of times through the clone wizard, I'd like to automate this as much as possible. I've taken on the task of cloning a ton of VMs in VMware.







Parallels desktop duplicate virtual machine