Saturday, October 10, 2015

Moving a VM to a new Subnet using Powershell Commands

You can move a VM to a new subnet with the management portal or Windows PowerShell Commands

Get-AzureVM -ServiceName "<CloudServiceName>"
            -Name "<VMName>"
Set-AzureSubnet -SubnetName "<SubnetName>"
Update-AzureVM