Closed nook24 closed 3 years ago
Get-EventLog -LogName Application -After (Get-Date).AddHours(-1) | ConvertTo-Json -depth 100 Get-EventLog -LogName Application -After (Get-Date).AddHours(-1) | Select-Object Message, Source, TimeGenerated, TimeWritten, Index | ConvertTo-Json -depth 100