我正在用一种REST方法努力从Azure存储帐户中删除通过PowerShell删除条目。我用共享核心签名(SAS)(具有读取,写入和删除的权利)来验证以创建条目,但我不让此作用也可以删除条目。是否有人创建了一个PowerShell脚本来从PowerShell删除Azure存储帐户表,并且可以向我发送有关如何执行此操作的代码片段?
我不使用“ Invoke-webrequest” CMDLET使用PowerShell模块IM。我是新手休息API,所以也许我只是没有正确的主意?对于输入创建,IM使用uni uri在“ invoke-webrequest呼叫”中使用uri将SAS令牌作为身份验证提供,但将“ -Method post”更改为“ -Method Delete”是不起作用的。
感谢您的帮助
im struggling with an REST Method to DELETE an Entry via PowerShell from an Azure Storage Account. Im authenticating with an SharedAccessSignature (SAS) (has rights for read, write and delete) to create entries but i dont get this to work to also DELETE entries. Has anyone created an PowerShell script to delete form Azure Storage Account Tables from PowerShell yet and could send me an code snippet on how to do this?
Im not using the PowerShell Module im using the "Invoke-WebRequest" CMDlet. Im new to REST APIs so maybe i just dont have the right idea? For the entry creation im using the URI in the Invoke-WebRequest call to give the SAS Token as authentication but changing the "-Method POST" to "-Method DELETE" does not worked.
Thanks for your help
发布评论
评论(1)
要使用 REST 方法删除表,请使用以下示例查询(如果有帮助):
了解更多详细信息,请参考以下链接:
通过 PowerShell 和 Rest API 使用 Azure 表存储 - GCITS
有关更多详细信息,请参考以下链接:
使用 powershell 删除 Azure 存储中的所有表 |迈克说“嗯”。
To delete the table by using REST method, make use of below sample query if helpful:
For more in detail, please refer below link:
Use Azure Table Storage via PowerShell and the Rest API - GCITS
For more in detail, please refer below link:
Delete all tables in Azure storage using powershell | Mike Says Meh.