backup
-
이벤트뷰어 백업IT 2019. 6. 18. 18:14
@echo off net use \\ip\Backup\log\Eventlog /user:id pw #set "date=%YYYY%%MM%%DD%" set "target=\\ip\Backup\log\Eventlog" wmic nteventlog where filename='Application' backupeventlog "%target%\Application-%ComputerName%_%date%.evt" wmic nteventlog where filename='Security' backupeventlog "%target%\Security-%ComputerName%_%date%.evt" wmic nteventlog where filename='System' backupeventlog "%target%\S..