How can I simply export or back-up a custom view from the event viewer? I do not want to export the regular Event logs, such as: System, Application, Security etc. But I want to export automatically my own whole custom view log with event id's.
Backup/export custom view automatically from Event Viewer
eventviewerwindows-server-2008
Related Topic
- Windows Server 2008 – Ensuring 100% Uptime for a Web Application
- Security – Windows Server 2008 what is the proper way to export or backup security event log
- Powershell – Script to export custom view Event Viewer to .evtx Powershell
- Powershell – Save Custom View from Event Viewer in .evtx
- How to export event viewer errors to Excel in Windows Server 2012
- How to Consolidate all Event Viewer Logs from different Servers
- Powershell – Is it possible to view events from all event logs (including “Applications and Services Logs”) simultaneously
Best Answer
Open up the Custom View properties, select Edit Filter and then switch to the XML tab and copy the filter.
You can now use the filter with PowerShell, like this:
Set up a scheduled task to run a script like the above every week