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

Round Robin is killing performance on our network

WMI Repository 4GB limit - Win 2003 Ent Question

Change home folder default permission?