--- title: "Running a query" slug: "running-a-query-1" updated: 2026-10-26T07:33:44Z published: 2026-10-26T07:33:44Z canonical: "docs.trellix.com/running-a-query-1" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Running a query Remove the agents from systems listed in the results of a query. 1. Run a query, then from the results page, select the systems to be deleted. 2. Select **Directory Management** from the drop-down list, then select **Delete** from the submenu. 3. Select **Remove Trellix Agent on next agent-server communication**, then click **OK**. :