--- title: "Command Shell History script" slug: "command-shell-history-script-1" tags: ["HX 10.x", "Endpoint Security (HX)", "Product Usage"] updated: 2026-09-10T15:35:17Z published: 2026-09-10T15:35:17Z canonical: "docs.trellix.com/command-shell-history-script-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. # Command Shell History script The Command Shell History script requests a command shell history from host endpoints. This script can be requested only for Windows host endpoints. Support is not provided for macOS or Linux host endpoints. This script cannot be copied, edited, reset, or deleted and does not appear on the Data Acquisition Scripts page. You cannot use this script in data acquisition scripts that you create. ![HX_SSType_CommandShellHistory_scap.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-bf7fbb6e-53fc-fd7c-6051-500e2677a107(1).png?sv=2026-02-06&spr=https&st=2026-11-20T12%3A44%3A31Z&se=2026-11-20T13%3A44%3A31Z&sr=c&sp=r&sig=y4g7clfvrtwlvznfhZHvAnwNgxX44mZzFS8Axmuo7N8%3D) ### Requesting command shell history data To acquire command shell history data using the Web UI: 1. Select **Hosts** in the Endpoint Security (HX) Web UI. 2. Select one or more hosts. 3. From the Actions menu, select **Command Shell History**. Alternatively, you can also select **Command Shell History** from the **Acquire** menu on a host details page. 4. Click **Go** to access the **Acquire Command Shell History** dialog box. 5. In the **Comment** field, enter the reason you want to acquire the file and any details about the data acquisition request that you want to track. 6. Click **Acquire**. The **Acquire Command Shell History** dialog box also shows the percentage of allotted disk space currently used to store acquisitions and how much free disk space (in GB) remains. Command Shell History data can be requested as a regular data acquisition. See [Requesting a data acquisition](/docs/requesting-a-data-acquisition-2). :