AzurePowerShell

Login

Get-AzureAccount

Set Azure Subscription

select-AzureSubscription -SubscriptionName "Microsoft Azure Enterprise - Original" -current

Set VM Static IP

Get-AzureVM -ServiceName DFSVM-1 -Name DFSVM1 | Set-AzureStaticVNetIP -IPAddress 10.240.160.4 | Update-AzureVM
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License