How to supply an end point to powershell cmdlet Rename-Blob

[cross posted from http://stackoverflow.com/questions/21352295/azure-storage-cmdlet-rename-blob-wants-an-endpoint]

I'm attempting to rename a blog to all lower case:

Rename-Blob -BlobUrl "https://ttseast.blob.core.windows.net/images/Add.png" -NewName "https://ttseast.blob.core.windows.net/images/add.png"

I've verified the blog URI by plugging it into a browser - however, attempting to execute the command tosses:

Rename-Blob : Blob URI does not correspond to storage account end point. A Blob URI must contain blob storage end point.

The arguments for Rename-Blob don't reference anything 'endpoint' - I've loaded the subscription so I should be authenticated and not forced to include AccountName/Key.

How to I determine (or set) the required end point?

thx


January 27th, 2014 8:19am

Hi,

I didn't familiar with powershell, If you just rename blob, I recommend a tool Azure Storage Explorer (http://azurestorageexplorer.codeplex.com/), we can easy rename blob via click our mouse. the following is the screenshot.

Hope this helps


  • Edited by Jaydonli 3 hours 57 minutes ago
Free Windows Admin Tool Kit Click here and download it now
January 28th, 2014 2:45am

Hi,

I didn't familiar with powershell, If you just rename blob, I recommend a tool Azure Storage Explorer (http://azurestorageexplorer.codeplex.com/), we can easy rename blob via click our mouse. the following is the screenshot.

Hope this helps


  • Edited by Jaydonli Tuesday, January 28, 2014 7:44 AM
January 28th, 2014 10:43am

Hi,

I didn't familiar with powershell, If you just rename blob, I recommend a tool Azure Storage Explorer (http://azurestorageexplorer.codeplex.com/), we can easy rename blob via click our mouse. the following is the screenshot.

Hope this helps


Free Windows Admin Tool Kit Click here and download it now
January 28th, 2014 10:43am

Hi,

I didn't familiar with powershell, If you just rename blob, I recommend a tool Azure Storage Explorer (http://azurestorageexplorer.codeplex.com/), we can easy rename blob via click our mouse. the following is the screenshot.

Hope this helps


January 28th, 2014 10:43am

Hi,

I didn't familiar with powershell, If you just rename blob, I recommend a tool Azure Storage Explorer (http://azurestorageexplorer.codeplex.com/), we can easy rename blob via click our mouse. the following is the screenshot.

Hope this helps


Free Windows Admin Tool Kit Click here and download it now
January 28th, 2014 10:43am

If I'm not mistaken, I believe you're using Cerebrata Azure Management Cmdlets as Windows Azure PowerShell Cmdlets do not have a Rename-Blob Cmdlet (Cerebrata has it).

To use Rename-Blob cmdlet, please try the following:

Rename-Blob -BlobUrl "https://ttseast.blob.core.windows.net/images/Add.png" -NewName "https://ttseast.blob.core.windows.net/images/add.png" -AccountName "ttseast" -AccountKey "<your accountkey>"

Thanks to Jaydonli for the alternate approach - turns out that while I thought I was using the native MS cmlets is was using 3rd party CLI from Redgate. As per Gaurav Mantri at http://stackoverflow.com/questions/21352295/azure-storage-cmdlet-rename-blob-wants-an-endpoint

February 4th, 2014 6:30am

If I'm not mistaken, I believe you're using Cerebrata Azure Management Cmdlets as Windows Azure PowerShell Cmdlets do not have a Rename-Blob Cmdlet (Cerebrata has it).

To use Rename-Blob cmdlet, please try the following:

Rename-Blob -BlobUrl "https://ttseast.blob.core.windows.net/images/Add.png" -NewName "https://ttseast.blob.core.windows.net/images/add.png" -AccountName "ttseast" -AccountKey "<your accountkey>"

Thanks to Jaydonli for the alternate approach - turns out that while I thought I was using the native MS cmlets, in fact, I was using 3rd party CLI from Redgate. As per Gaurav Mantri at http://stackoverflow.com/questions/21352295/azure-storage-cmdlet-rename-blob-wants-an-endpoint


  • Edited by am.steve 19 hours 39 minutes ago
Free Windows Admin Tool Kit Click here and download it now
February 4th, 2014 2:28pm

If I'm not mistaken, I believe you're using Cerebrata Azure Management Cmdlets as Windows Azure PowerShell Cmdlets do not have a Rename-Blob Cmdlet (Cerebrata has it).

To use Rename-Blob cmdlet, please try the following:

Rename-Blob -BlobUrl "https://ttseast.blob.core.windows.net/images/Add.png" -NewName "https://ttseast.blob.core.windows.net/images/add.png" -AccountName "ttseast" -AccountKey "<your accountkey>"

Thanks to Jaydonli for the alternate approach - turns out that while I thought I was using the native MS cmlets, in fact, I was using 3rd party CLI from Redgate. As per Gaurav Mantri at http://stackoverflow.com/questions/21352295/azure-storage-cmdlet-rename-blob-wants-an-endpoint


  • Edited by am.steve Tuesday, February 04, 2014 4:02 PM
February 4th, 2014 2:28pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics