如何使用powershell从Azure表存储中删除属性?

如何使用powershell从Azure表存储中删除属性?,azure,powershell,azure-table-storage,azure-powershell,Azure,Powershell,Azure Table Storage,Azure Powershell,我尝试使用以下代码从表中删除属性: $propertiesToRemove = @("Prop1", "Prop2") $row = Get-AzTableRow -Table $cloudTable -PartitionKey "PK" -RowKey $id $propertiesToRemove | %{ $row.PSObject.Properties.Remove($_) } Update-AzTableRow -Table $cloudTable -entity $row 但它让它

我尝试使用以下代码从表中删除属性:

$propertiesToRemove = @("Prop1", "Prop2")
$row = Get-AzTableRow -Table $cloudTable -PartitionKey "PK" -RowKey $id
$propertiesToRemove | %{ $row.PSObject.Properties.Remove($_) }
Update-AzTableRow -Table $cloudTable -entity $row
但它让它们保持原样。如何使用powershell执行此操作?

假设您正在使用,我认为不可能从表中删除属性,因为
更新AzTableRow
执行的是一个操作,而不是or操作

从:

我将使用:
return ($Table.Execute([Microsoft.Azure.Cosmos.Table.TableOperation]::InsertOrMerge($updatedEntity)))