воскресенье, 17 ноября 2019 г.

Шпаргалка команд для просмотра логов Windows с помощью PowerShell

Get-EventLog –LogName ‘System’ | Format-Table EntryType, TimeWritten, Source, EventID, Category, Message

Get-EventLog –LogName ‘System’ | Format-List EntryType, TimeWritten, Source, EventID, Category, Message

Get-EventLog –Logname ‘System’ –Newest 20

Get-EventLog –LogName ‘System’ –After ноября 2019’

Комментариев нет:

Отправить комментарий