Created
June 20, 2018 17:03
-
-
Save mvillegascuellar/406fb4edb646018103e3407a98181edd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ip = Invoke-RestMethod http://ipinfo.io/json | Select -exp ip | |
New-AzureRmSqlServerFirewallRule -ResourceGroupName $resourceGroupName ` | |
-ServerName "server-1854761624" -FirewallRuleName "PermitirMiIP" ` | |
-StartIpAddress $ip -EndIpAddress $ip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment