i need your help! I'm trying to renew a dynamic IP assigned to a VM, but i want to figure it out if there's some possibility to accomplish this via powershell cmdlets without being in the need of shutting down and starting the VM again. I want to renew the public ip's assigned, regularly, but in a more efficient way.
ipconfig /release ipconfig /renew
You could use the above two commands to release and renew the given dynamic IP address. For further information open a windows-shell and type
In the past they where commandline commands, but you can use them in powershell as well. If you want to renew the IP regularly you need to write a cronjob which execudes the two commands in the given intervals.