I'm trying to upload an image to Azure storage using powershell. Reading their documentation it dosent seem to be supported (i cant find a reference to how to do it). It seems like a fairly core bit of functionality, have a missed something? Can anyone link me to an example?
The Set-AzureStorageBlobContent cmdlet uploads a local file to an Azure Storage blob.
Upload contents of a folder to Data Box Blob storage To get your account key, in the Azure portal, go to your storage account. Go to Settings > Access keys, select a key, and paste it into the AzCopy command. If the specified destination container does not exist, AzCopy creates it and uploads the file into it.
There is a Set-AzureStorageBlobContent cmd in windows azure powershell.
Set-AzureStorageBlobContent -Container upload -File .\filename -Blob blobname
For details, please refer to http://msdn.microsoft.com/en-us/library/dn408487.aspx.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With