Search Event ID and copy the entire row to another Excel or Sheet
hello everyone,
i looking powershell script me find occurance of event id , copy file.
case:
we have exported eventviewer logs xls file and want to search specific event id (i have few events which i have search) in excel file , copy row in the we find event id to sheet.
please assist.
regards, milind koyande
example using multiple event ids:
get-winevent -filterhashtable @{logname='application';id=902,1003} -computername server01 |
export-csv myevents.csv
¯\_(ツ)_/¯
Windows Server > Windows PowerShell
Comments
Post a Comment