# Winlogbeat - PowerShell arguments

**URL:** <https://discuss.elastic.co/t/winlogbeat-powershell-arguments/188372>\
**Category:** Beats\
**Tags:** winlogbeat\
**Created:** [July 1, 2019, 4:21pm UTC](https://discuss.elastic.co/t/winlogbeat-powershell-arguments/188372 "2019-07-01T16:21:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mually](https://avatars.discourse-cdn.com/v4/letter/m/43a26b/32.png) [@mually](https://discuss.elastic.co/u/mually)\
**Post date:** [July 1, 2019, 4:21pm UTC](https://discuss.elastic.co/t/winlogbeat-powershell-arguments/188372/1 "2019-07-01T16:21:01Z")

</div>

Hi,

Using Winlogbeat on a windows host, I can see logs when the PowerShell process is started/running/stopped.  
Is there a way for me get Elastic to report the arguments executed in a PowerShell channel? For example, if an administrator executes a script, is it possible to see the code which was executed?

Kind regards,  
Mohammed

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 29, 2019, 4:21pm UTC](https://discuss.elastic.co/t/winlogbeat-powershell-arguments/188372/2 "2019-07-29T16:21:02Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
