Created
December 5, 2012 12:49
-
-
Save sandrinodimattia/4215259 to your computer and use it in GitHub Desktop.
Adding and removing RDP endpoint (by Michael Washam)
This file contains hidden or 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
# Remove RDP endpoints from VMs in cloud service | |
Get-AzureVM -ServiceName myservice | Remove-AzureEndpoint -Name RemoteDesktop | |
| Update-AzureVM | |
# Add RDP endpoints to all VMs in cloud service | |
Get-AzureVM -ServiceName myservice | Add-AzureEndpoint -Name RemoteDesktop -LocalPort 3389 -Protocol tcp | |
| Update-AzureVM |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment