Copy file from Azure server to localhost


I have successfully copied a file from an Azure server to my localhost by mapping a local drive in the .rdp file and using explorer in the server.

How would I do this using a PowerShell V3 or later command? I have successfully remoted to the server from my localhost in PowerShell and changed folders so I can see the file in a directory listing.


Remoting doesn’t have any built-in file copy mechanism like RDP does. That means you’ll have to set up another “channel” for file copying - e.g., a file share (exposing the needed ports, which can be tricky), set up an FTP server, set up IIS and WebDAV, or something else.

Thanks Don.