Created
          September 19, 2018 14:07 
        
      - 
      
- 
        Save Staggerlee011/50504da2a3590f915e869aa0aea3e6ca to your computer and use it in GitHub Desktop. 
    Download file from Azure using CLI
  
        
  
    
      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
    
  
  
    
  | $container_name = 'sqlbackups' | |
| $blob_name = 'mydb-2018-9-19-7-32.bacpac' | |
| $destination_file = 'c:\temp\mybackup.bacpac' | |
| $storage_account = '' | |
| $storage_key = '' | |
| az storage blob download ` | |
| --container-name $container_name ` | |
| --name $blob_name ` | |
| --file $destination_file ` | |
| --account-name $storage_account ` | |
| --account-key $storage_key | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment