Skip to content

Instantly share code, notes, and snippets.

@kpatnayakuni
Created February 4, 2020 11:29
Show Gist options
  • Save kpatnayakuni/61a2a9eac27583024455d17a33f38868 to your computer and use it in GitHub Desktop.
Save kpatnayakuni/61a2a9eac27583024455d17a33f38868 to your computer and use it in GitHub Desktop.
# Get the public ip of the new VM
$vmPIP = Get-AzPublicIpAddress -ResourceGroupName $rgName -Name $vmName | % IpAddress
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment