Created
May 30, 2013 15:28
-
-
Save RichardSlater/5678762 to your computer and use it in GitHub Desktop.
Download RDP Files from All Instances
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
Get-AzureService | | |
Get-AzureRole -Slot Production -InstanceDetails | | |
ForEach-Object { | |
Get-AzureRemoteDesktopFile ` | |
-Name $_.InstanceName ` | |
-ServiceName $_.ServiceName ` | |
-LocalPath (Join-Path "C:\RDP" ($_.InstanceName + ".rdp")) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment