Windows Azure Platform Family of articles Catalog
When I use Azure virtual machine VMS, I often use them in conjunction with the virtual network.
But sometimes, we deploy in the virtual network subnet subnet information is wrong, I want to modify this virtual machine belongs to the subnet, how should I modify?
Let me briefly introduce you here.
1. First, we have a virtual network vnet with 2 subnet subnets. Such as:
2. We have an Azure VM virtual machine that is added to a virtual network Subnet-1. Such as:
3. We are now going to implement this VM's subnet and modify it into Subnet-2.
4. We run Azure PowerShell as an administrator
# in the pop-up interface, enter your azure China user name and password Add-azureaccount-Environment Azurechinacloud# Select Current subscription select-azuresubscription- Subscriptionname ' [subscriptionname] '# Modify the subnet of the virtual machineget-
5.Azure PowerShell execution results are as follows:
6. The results of the implementation are as follows:
Windows Azure Virtual Machine (30) modifies the subnet of an Azure VM