Skip to content

Instantly share code, notes, and snippets.

Created February 17, 2017 00:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/604be69e03ba15b9286b1a90c490e279 to your computer and use it in GitHub Desktop.
Save anonymous/604be69e03ba15b9286b1a90c490e279 to your computer and use it in GitHub Desktop.
# For HTTPS
Get-AzureVM -ServiceName "Service Name" -Name "Web01" | Add-AzureEndpoint -Name "Name of endpoint" -Protocol "tcp" -PublicPort 443 -LocalPort 443 -LBSetName "LB Name" -ProbePort 443 -ProbeProtocol "tcp" -ProbePath '/' | Update-AzureVM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment