Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Using powershell, is there any way we can export system event logs from a saved system event log file (*.evt). Get-Eventlog does not recognize the "-logname "Saved system log"".

Any ideas ?

share|improve this question

1 Answer 1

Use the Path parameter.

Get-WinEvent -Path filename.evt
share|improve this answer
    
Get-WinEvent -Path E:\path\filename.evt does work, though only on Windows Vista/2008 R2 and higher OS. I have been trying to get this to work on a windows server 2003, but could not find anything on this yet. Am not really sure of remoting to a Win 2003 machine –  whizkid Jun 6 '12 at 11:57

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.