I just copy and pasted some stuff from here and put it in a ForEach.
$resourceGroup = 'ResourceGroupName' $storageAccountName = 'StorageAccountName' $storageAccount = Get-AzStorageAccount -ResourceGroupName $resourceGroup -Name $storageAccountName $ctx = $storageAccount.Context $tables = (Get-AzStorageTable -Context $Ctx).name ForEach ($table in $tables) { Remove-AzStorageTable –Name $table –Context $ctx -Force }