TPL Output Format Examples
Last 50 Security Events
Create an HTML page containing the most recent 50 events from the Security event log:LogParser "SELECT TOP 50 TimeGenerated, SourceName, EventID, Message INTO Events.html FROM Security" -i:EVT -direction:BW -o:TPL -tpl:HTMLBody.txt -tplHeader:HTMLHeader.txt -tplFooter:HTMLFooter.txt
MSDN BLogs Channel Titles
Display titles of current channels on MSDN BLogs:LogParser "SELECT title INTO channels.txt FROM http://blogs.msdn.com/MainFeed.aspx#/rss/channel/item" -i:XML -fMode:Tree -o:TPL -tpl:mytemplate.tpl