Continuation from Part –3. Removing Azure Storage Container. While working with Azure i make sure i do not create anything which is not required/if testing, drop it once done. Azure services are paid and creating things which are not required may be chargeable (You will be billed for the services you use)
Lets see how can we drop the storage containers attached to the Storage Account.
Create the Storage Account context as explained in part-3.
Get the list of Azure Container attached to a storage Account
Get-AzureStorageContainer -Context $destContext
Drop the container
Remove-AzureStorageContainer -Name testcontainer1 -Context $destContext