Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $files = @("System_09","System_10","System_11","System_12","System_13","System_14","System_15","System_16","System_17","System_19")
- $pathToFollow = "\JEPXS00501BackupsJTSWin_EVNT_Log 2-17-2017"
- ForEach ($file in $files){ Get-WinEvent -Path $pathToFollow$file".evtx" | Export-CSV -Path $pathToFollow$File".CSV" }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement