--- title: "Verifying AMSI detection" slug: "verifying-amsi-detection" updated: 2026-09-11T11:05:49Z published: 2026-09-11T11:05:49Z canonical: "docs.trellix.com/verifying-amsi-detection" --- > ## 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. # Verifying AMSI detection [Skip to main content](/docs/_content-wrapper) To verify AMSI module detection, execute the following sample script using PowerShell. ``` iex([System.Text.Encoding]::UTF8.GetString([Convert]::FromBase64String('JHJlc3AgPSBJbnZva2UtV2ViUmVxdWVzdCAtVXJpICdodHRwczovL3NlY3VyZS5laWNhci5vcmcvZWljYXIuY29tJw0KJGVpY2FyID0gW0NvbnZlcnRdOjpUb0Jhc2U2NFN0cmluZyhbU3lzdGVtLlRleHQuRW5jb2RpbmddOjpVVEY4LkdldEJ5dGVzKCRyZXNwKSkNCklFWCAnV3JpdGUtSG9zdChbU3lzdGVtLlRleHQuRW5jb2RpbmddOjpVVEY4LkdldFN0cmluZyhbQ29udmVydF06OkZyb21CYXNlNjRTdHJpbmcoJGVpY2FyKSkpJw=='))) ``` If the AMSI module is enabled and the content is updated, you will receive the following AMSI alert *Suspicious Base64 Decoding using PowerShell*.