无法从本地存储中删除数据 [英] Not able to delete data from local storage
问题描述
我正在尝试清除我的开发存储而无法这样做我正在使用来自powershell的以下命令
$ context = New-AzureStorageContext -Local
Remove-AzureStorageTable -Name" WADLogsTable" -Context $ context
但是在运行此命令时没有显示结果,表格也没有从表中清除数据
Hello Prashant,
感谢您在此发帖!
您是否可以尝试以下Power Shell命令删除本地开发表存储,如果您仍然遇到问题,请告诉我们。
#要删除表中的所有行,您需要以下命令:
Get-AzureStorageTableRowAll -table
storageTable | Remove-AzureStorageTableRow -table
storageTable
#要删除整个表,请使用以下表:
Remove-AzureStorageTable -Name
I am trying to clear my development storage and not able to do so I am using following command from powershell
$context=New-AzureStorageContext -Local
Remove-AzureStorageTable -Name "WADLogsTable" -Context $context
but on running this command no result is displayed and table is as it is no data is cleared from table
Hello Prashant,
Thanks for posting here!
Could you try the below Power Shell commands to delete the local development table storage and let us know if you still facing issue.
#To remove all rows in a table, you need this command: Get-AzureStorageTableRowAll -table
storageTable | Remove-AzureStorageTableRow -table
storageTable #To delete the entire table, use this one: Remove-AzureStorageTable –Name
这篇关于无法从本地存储中删除数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!