RebuildVM Powershell script to recreate Azure VM to perform various functions. The script can be used to: Rename an Azure VM Move an Azure VM into an Availability Set Remove an Azure VM from an Availability Set Move an Azure VM to a new VNet/Subnet