PowerShell sucht Ereignisse

$Begin = Get-Date -Date '8/11/2019 00:00:00'
$End = Get-Date -Date '10/11/2019 23:59:00'
$A = Get-EventLog -LogName System -After $Begin -Before $End
$B = $A | Where-Object {$_.EventID -eq 7002}
$B | Select-Object -Property TimeGenerated, Message

mehr Details: microsoft.com