{"id":3979,"date":"2026-07-14T14:17:40","date_gmt":"2026-07-14T11:17:40","guid":{"rendered":"https:\/\/support.withsecure.com\/en\/?post_type=support_article&#038;p=3979"},"modified":"2026-07-14T14:17:40","modified_gmt":"2026-07-14T11:17:40","slug":"why-doesnt-the-elements-portal-security-events-alert-always-show-the-powershell-command","status":"publish","type":"support_article","link":"https:\/\/support.withsecure.com\/en\/support-articles\/why-doesnt-the-elements-portal-security-events-alert-always-show-the-powershell-command\/","title":{"rendered":"Why doesn\u00b4t the Elements portal Security Events alert always show the Powershell command?"},"content":{"rendered":"<h3>Issue:<\/h3>\n<p>Why doesn\u00b4t the Elements Security Center portal&#39;s <strong>Events &gt; Security Events<\/strong> alert detections always show or include the Powershell command which was run one the device, if the detection process is Powershell?<\/p>\n<h3>Resolution:<\/h3>\n<p>The Powershell command is only shown in the Security Events alert detection if the detection source is DeepGuard. If the detection source is either <strong>File Scanning<\/strong> (Real-time scanning) or <strong>AMSI<\/strong> (Antimalware Scan Interface), then they do not include the command line information, because it depends on which detection engine produced the event.\u00a0<\/p>\n<ul>\n<li><strong>DeepGuard<\/strong> events include the <code>CommandLine<\/code> field \u2014 this is where you&#39;ll typically see the full PowerShell invocation (e.g., the <code>powershell.exe<\/code> command with arguments).\u00a0<\/li>\n<li><strong>File Scanning \/ Real-time scanning (OAS)<\/strong> events focus on the <em>file<\/em> being scanned, not the launching process. They include <code>filePath<\/code> and accessor info but typically not the command line of the process.<\/li>\n<li><strong>AMSI<\/strong> detections have limited portal visibility<\/li>\n<\/ul>\n<p>If you have Endpoint Detection and Response (EDR) included in your subscription, you can enable <strong>Response <\/strong>actions the Elements profile and then use the &quot;Retrieve PowerShell history&quot; investigative action to get more details about any PowerShell commands that have been run on a device.\u00a0<\/p>\n<p>Steps how to enable advanced response actions: <a href=\"https:\/\/support.withsecure.com\/userguides\/product.html#business\/edr\/latest\/en\/task_09832986687949D783F3A086C43A2ADB-latest-en\" target=\"_blank\">https:\/\/support.withsecure.com\/userguides\/product.html#business\/edr\/latest\/en\/task_09832986687949D783F3A086C43A2ADB-latest-en<\/a>\u00a0<\/p>\n<p>List of investigative response actions: <a href=\"https:\/\/support.withsecure.com\/userguides\/product.html#business\/edr\/latest\/en\/concept_C1A7FE15A7794BBDB0D5767C3903D005-latest-en\" target=\"_blank\">https:\/\/support.withsecure.com\/userguides\/product.html#business\/edr\/latest\/en\/concept_C1A7FE15A7794BBDB0D5767C3903D005-latest-en<\/a><\/p>\n<p>\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>why doesn\u00b4t the Elements portal Security Events alert always show the Powershell command?<\/p>\n","protected":false},"template":"","support_article_product":[99],"class_list":["post-3979","support_article","type-support_article","status-publish","hentry"],"acf":{"source_foreign_id":"000015539","source_version":1,"source_system":"salesforce","source_date_updated":"2026-07-14 11:17:40","import_hash":"6e7aaca54fe345d009c28866ba3393a0d747e41b","vanilla_article_id":33000,"vanilla_url":"https:\/\/community.withsecure.com\/en\/kb\/articles\/33000-why-doesnt-the-elements-portal-security-events-alert-always-show-the-powershell-command","vanilla_kb_id":30,"vanilla_category_id":102,"machine_translated":false,"reactions_helpful_yes":0,"reactions_helpful_no":0},"_links":{"self":[{"href":"https:\/\/support.withsecure.com\/en\/wp-json\/wp\/v2\/support_article\/3979","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/support.withsecure.com\/en\/wp-json\/wp\/v2\/support_article"}],"about":[{"href":"https:\/\/support.withsecure.com\/en\/wp-json\/wp\/v2\/types\/support_article"}],"wp:attachment":[{"href":"https:\/\/support.withsecure.com\/en\/wp-json\/wp\/v2\/media?parent=3979"}],"wp:term":[{"taxonomy":"support_article_product","embeddable":true,"href":"https:\/\/support.withsecure.com\/en\/wp-json\/wp\/v2\/support_article_product?post=3979"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}