How to force ip change on a Windows Azure Virtual machine?

azure, ip, virtual

Solution

You'll get a new IP after you shutdown your machine.

E.g. click on shutdown in the portal and you should see this message:

If you continue, the IP addresses that were assigned to this virtual machine will be released. Are you sure you want to shut down virtual machine [name]?

Problem

I'd like to know how to force an IP change on a Windows Azure machine? Calling `ipconfig -renew` seems not to be working.

Original source