Backup All Event Logs

Backs up all event logs. Existing backup files are deleted before new files are written.


Elevated - Run as administrator.

Input Parameters

Name Type Required Description
Backup Path String Yes The path to which the backups will be written.

Output Parameters

Name Type Description
Result Number Returns a success value of zero or any value other than zero to indicate failure. Returns windows error code.

Example Input Parameters

Name Type Required Example
Path String Yes C:\folder1\folder2