Skip to content

Instantly share code, notes, and snippets.

@srkirkland
Created December 6, 2016 23:54
Show Gist options
  • Save srkirkland/81953605ae7e0ef9eeaeff0e6a2615b3 to your computer and use it in GitHub Desktop.
Save srkirkland/81953605ae7e0ef9eeaeff0e6a2615b3 to your computer and use it in GitHub Desktop.
powershell for outgoing IP addresses
Get-AzureRmResource -ResourceGroupName "Default-Web-WestUS" -ResourceType Microsoft.Web/sites `
-ResourceName prepurchasing -ApiVersion 2015-08-01 | select -expand Properties |
ft @{l=”OutboundIPAddresses”; e={$_.OutboundIPAddresses -split “,”}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment