a guest Sep 14th, 2018 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- $storSas = "sas-generated-with-windows-storage-explorer"
- $StorageAccountName = "storageacc"
- $containerName = "some-cont-name"
- $clientContext = New-AzureStorageContext -SasToken $storSAS -StorageAccountName $StorageAccountName
- # upload a file
- Set-AzureStorageBlobContent -File "F:somefile" `
- -Container $containerName `
- -Blob "somefile" `
- -Context $ClientContext
RAW Paste Data