title: Showing LogName in table when querying multiple logs with PowerShell get-eventlog
body: <p>I'm new to PowerShell and I am trying to get recent events for a group of logs (right now application and system for testing purposes).<br>
  What's missing is a column in the final output showing the log the event came from.<br>
  I tried piping the output before the format-table to get member to see if there was a property that contained the logname and there doesn't seem to be one.<br>
  Is there a workaround to get this?</p>
  
  <p>What I have right now is:</p>
  
  <pre><code>"application", "system" | foreach { Get-EventLog -LogName $_ -Newest 10 } | sort time -Descending | ft timegenerated, LogName, source, message -wrap -AutoSize
  </code></pre>
  
  <p>This is what I want, but the LogName column is blank because there's no such property.</p>