I am creating a PowerShell script to perform several steps and one of them involves an Azure Storage Container removal:
Remove-AzureStorageContainer ....
The next step is dependant of this removal is done.
How can I be made aware that the previous REMOVE was successfully performed so as to continue execution on the next step ?
Something like;
while(Test-AzureStorageContainerExist "mycontainer")
{
Start-Sleep -s 100
}
<step2>
Unfortunately 'Test-AzureStorageContainerExist' doesn't seem available. :)
409 conflict
response – Sam Holder