Created
April 19, 2017 20:43
-
-
Save Whistler092/fef144bac948f3f1d46737ea92981b1a to your computer and use it in GitHub Desktop.
agregar excepciones en el firewall en azure.
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
$vm = Get-AzureVM -ServiceName servername -Name servername ; 10000..10005 | ForEach { $VM | Add-AzureEndpoint -Name FTPEndpoint$_ -Protocol TCP -LocalPort $_ -PublicPort $_} ; $vm | Update-AzureVM | |
$vm = Get-AzureVM -ServiceName servername -Name servername ; 10006..10100 | ForEach { $VM | Add-AzureEndpoint -Name FTPEndpoint$_ -Protocol TCP -LocalPort $_ -PublicPort $_} ; $vm | Update-AzureVM |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment