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

directory stack

After enabling Windows Server 2012 R2 DHCP Failover Getting Packet dropped because of Client ID hash mismatch

WMI Repository 4GB limit - Win 2003 Ent Question