title: Powershell select line number line only from file
body: <p>I like to go through a log file and list the line number and line only
  my current script is</p>
  <pre><code>#$ERROR_MESSAGE = Get-Content $_.FullName | Select-String &quot;ORA-&quot; | select LineNumber,Line
  </code></pre>
  <p>I needed to be like this:</p>
  <blockquote>
  <p>line 592:    RMAN-00571: ==================================================</p>
  <p>line 593:  RMAN-00569: ========== ERROR MESSAGE STACK FOLLOWS ==========</p>
  <p>line 594:  RMAN-00571: ==================================================</p>
  <p>line 595:  RMAN-03002: failure of backup plus archivelog command at 09/05/2015 00:20:41</p>
  <p>line 596:  ORA-19502: write error on file &quot;vsqgb979_1_1&quot;, block number 27408097 (block size=8192)</p>
  <p>line 597:  ORA-27030: skgfwrt: sbtwrite2 returned error</p>
  <p>line 598:  ORA-19511: Error received from media manager layer, error text:</p>
  </blockquote>
  <p>any thoughts?</p>