Export Azure VM .RDP files for a given service

Don't have ExpressRoute or a VPN connection to Azure?  Are you logging into the Azure Portal every time you need to connect to a VM?  Ever wondered how to grab all those .RDP connections for VMs in Azure?  Well now you can.Export Azure VM .RDP files to a local directory for a g

956 times
Add to favorites
Windows Azure
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question

  • sample
    1 Posts | Last post May 03, 2019
    • This is GREAT info.  Can you please supply a SAMPLE of the code?  I want to be sure that i understand how to enter in my own info into this:
      select-azuresubscription "$fcnlicense"
      Get-AzureVM $ServiceName | foreach { 
      	$rdpexportfile = 'c:\AzureRDP\' + $_.Name + '.rdp'
      	Get-AzureRemoteDesktopFile -ServiceName $ServiceName -Name $_.Name -LocalPath $rdpexportfile