[Script of Apr. 8] How to break the locked lease of blob storage in Windows Azure (PowerShell)

Script Download: 31633.zip
https://gallery.technet.microsoft.com/How-to-break-the-locked-c2cd6492

This PowerShell script sample shows how to break the locked lease of blob storage in Windows Azure.

Windows Azure provides functionality to acquire lock on blobs to avoid concurrent writes to blobs. Sometimes, if the backup fails due to prolonged or sustained network connectivity failure, the backup process may not be able gain access to the blob and the blob may remain orphaned. This means that the blob cannot be written to or deleted until the lease is released. In this case, you might want to break the lease on a blob. This script can help you.

image image
 image

You can find more All-In-One Script Framework script samples at https://aka.ms/onescriptingallery