You have an Azure tenant that contains two subscriptions named Subscription1 and Subscription2.
In Subscription1, you deploy a virtual machine named Server1 that runs Windows Server 2016. Server1 uses managed disks.
You need to move Server1 to Subscription2. The solution must minimize administration effort.
What should you do first?
Click on the arrows to vote for the correct answer
A. B. C. D.D
To move existing resources to another resource group or subscription, use the Move-AzureRmResource cmdlet.
https://docs.microsoft.com/en-in/azure/azure-resource-manager/resource-group-move-resources#move-resourcesTo move Server1 to Subscription2 while minimizing administrative effort, you can use the Azure Resource Manager portal or PowerShell. The recommended method is to use Azure Resource Manager portal, as it provides a simple, intuitive interface for managing resources in Azure.
To move Server1 to Subscription2, you can perform the following steps:
The move process may take some time to complete, depending on the size of the virtual machine and the speed of your internet connection. During the move process, Server1 will be temporarily unavailable, so you should plan the move accordingly.
Alternatively, you can use Azure PowerShell to move Server1 to Subscription2. The steps are:
The Move-AzureRmResource cmdlet moves a resource to a new resource group or subscription. To use this cmdlet, you need to specify the resource you want to move, the target resource group or subscription, and any additional options or parameters.
In this case, you would use the following command to move Server1 to Subscription2:
phpMove-AzureRmResource -ResourceId <Server1_ResourceId> -DestinationSubscriptionId <Subscription2_SubscriptionId>
You can find the ResourceId for Server1 by using the Get-AzureRmVM cmdlet, and the SubscriptionId for Subscription2 in the Azure portal.
Overall, the easiest and most efficient method to move a virtual machine with managed disks to another subscription is to use the Azure Resource Manager portal.