3
我写一个PowerShell脚本计数的在某一天4624个EventIDs数,但我迷路时,我去组按日期的信息。有没有人可以帮助我?我的输出应该有当天的登录日期和数量,仅此而已。PowerShell的安全日志
这里是我的代码:
Get-EventLog "Security" -Before ([DateTime]::Now) |
Where -FilterScript {$_.EventID -eq 4624}
太感谢你了,我知道我失去了一些东西从我所用的代码小。 – Laitosto