Skip to content

Instantly share code, notes, and snippets.

@subhendu-de
Last active October 26, 2020 15:48
Show Gist options
  • Save subhendu-de/6733330ddd7bc1fedab6b2a45c727fe3 to your computer and use it in GitHub Desktop.
Save subhendu-de/6733330ddd7bc1fedab6b2a45c727fe3 to your computer and use it in GitHub Desktop.
REM Open the port 3389 of the network security group
REM The name of the vm will change based on the distribution
az vm open-port \
--resource-group myResourceGroups \
--name ubuntu-vm-lts \
--port 3389
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment