--- title: "PowerShell History script" slug: "powershell-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/powershell-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. # PowerShell History script The PowerShell History script acquires data from event logs specific to PowerShell history when the script is enabled on host endpoints. This script can be requested for Windows host endpoints only. ### Note PowerShell History script support is not provided for macOS or Linux host endpoints. You cannot copy, edit, reset, import, or delete the PowerShell History script or use this script in data acquisition scripts you create. This script does not appear on the Data Acquisition Scripts page. ![HX_SSType_PowerShell_scap.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-3b6d15a3-b19b-9218-d83c-5e19c86e4679(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 PowerShell History data To request PowerShell 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 **PowerShell History**. Alternatively, you can select **PowerShell History** from the **Acquire** menu on a host details page. 4. Click **Go** to access the **Acquire PowerShell History** dialog box. 5. In the **Comment** field, enter the reason you want to acquire the file and log details about the data acquisition request that you want to track. 6. Click **Acquire** to submit the request. PowerShell History data can be requested as a regular data acquisition. See [Requesting a data acquisition](/docs/requesting-a-data-acquisition-2). :