Update: Cloning Azure environments using Azure Automation

Last month, my article about cloning and creating a bubble environment in Microsoft Azure using a PowerShell script was published here at TechGenix. You can check it out here.

However, I have received a request to clone a single VM instead of an entire resource group containing several VMs. I'm a big supporter of reusing code to accomplish new goals.

I've slightly changed the original code that is published in the original article. The difference is that now we have a new parameter called SingleVMInstead (by default it is False). If you want to clone a single VM, then switch that to True and provide the VMName in the SingleVMInstead field below.

The new cloning Azure environments script with the updated code can be found here.

Featured image: Shutterstock / Pixabay

Anderson Patricio

Anderson Patricio is a Canadian MVP in Cloud and Datacenter Management, and Office Server and Services, besides of the Microsoft Award he also holds a Solutions Master (MCSM) in Exchange, CISSP and several other certifications. Anderson contributes to the Microsoft Community with articles, tutorials, blog posts, twitter, forums and book reviews. He is a regular contributor here at Techgenix.com, MSExchange.org, ITPROCentral.com and Anderson Patricio.org (Portuguese).

Share
Published by
Anderson Patricio

Recent Posts

Azure DevOps Wiki: Manage your project documentation and collaboration

Not being able to find project documentation is way too common. Use Azure DevOps’ built-in…

2 days ago

Samsung Unpacked 2020: Galaxy S20, Galaxy Z Flip, and more

Samsung is again the first major company to roll out new smartphones in the new…

2 days ago

PhotoSquared data leak exposes users’ photos, information

PhotoSquared has experienced a data leak, mainly because the popular U.S.-based photo app failed to…

2 days ago

Moving data from an Azure VM to Storage Account with AzCopy

Here’s an elegant and modern way to move data from your Azure virtual machine to…

3 days ago

A lot not to like: Analysis of recent Facebook data breach

The effects of the recent Facebook data breach are still being felt. In this new…

3 days ago

Exchange 2019: Building an environment from scratch

Are you finally ready to take the plunge into Exchange 2019? If you are building…

3 days ago