JAMES125
asked on
Saving Eventlogs with powershell
How can I use powershell to save an eventlog in exactly the same format as if I save the log from computer managment. The following statement isn't even close. Attached is the difference.
Get-Eventlog Security -Computer "serverName" | Out-file C:\Users\Username\Desktop\ security.c vs
Computer-Managment.csv
Powershell.csv
Get-Eventlog Security -Computer "serverName" | Out-file C:\Users\Username\Desktop\
Computer-Managment.csv
Powershell.csv
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Excellent!
http://technet.microsoft.com/en-us/sysinternals/bb897544