--- title: "Remove-RelativityMetricField" slug: "scripting-remove-relativitymetricfield" tags: ["Enterprise Only"] updated: 2026-01-20T15:02:59Z published: 2026-01-20T15:02:59Z canonical: "help.agilityblue.com/scripting-remove-relativitymetricfield" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.agilityblue.com/llms.txt > Use this file to discover all available pages before exploring further. # Remove-RelativityMetricField > [!NOTE] > Notice > > Relativity metric fields are automatically discovered by the system when the RelativityOne metrics configuration panel is opened in Agility Blue. If you delete a metric field programmatically, it will likely be recreated at some point in the future when a user opens the metrics configuration panel. If your intent is to simply remove the field so it is no longer collected, it is better to disable the metric field using the `Set-RelativityMetricField` cmdlet instead. ## Summary Deletes an existing Relativity metric field. ```powershell Remove-RelativityMetricField    -Id ``` Returns nothing. ## Parameters | Parameter | Type | Required? | Notes | | --- | --- | --- | --- | | Id | Int32 | Yes | The Relativity metric field id. | ## Examples ### Delete an existing Relativity metric field ```powershell Remove-RelativityMetricField -Id 17 ```