Guest User

Untitled

a guest
Sep 14th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. $storSas = "sas-generated-with-windows-storage-explorer"
  2. $StorageAccountName = "storageacc"
  3. $containerName = "some-cont-name"
  4. $clientContext = New-AzureStorageContext -SasToken $storSAS -StorageAccountName $StorageAccountName
  5.  
  6. # upload a file
  7. Set-AzureStorageBlobContent -File "F:somefile" `
  8. -Container $containerName `
  9. -Blob "somefile" `
  10. -Context $ClientContext
Add Comment
Please, Sign In to add comment