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

Popular posts from this blog

some help on Event 540

WMI Repository 4GB limit - Win 2003 Ent Question

Event ID 1302 (error 1307) DFS replication service encountered an error while writing to the debug log file