Hello Community,
I am running the following command from a ps script:
Get-EventLog -LogName Security -After $startDate -Before $endDate -ComputerName $strServer
which works perfectly getting the events from any remote server on my domain. The query basically collects all events produced in a single day. What concerns me is the number of logon/logoff events that the command is producing on the server. Has anyone seen similar behaviour when running the command on a remote server? Does anyone have a suggestion on how to avoid? I am not able to reproduce when running locally.
Thanks!
JC - a.k.a Aramane