title: Live tail of Windows log file
body: <p>I have several Windows servers that I want to monitor a log file on them live and when a new line added with specific string to run a command on Linux server.</p>
  
  <p>In order to tail the Windows log file I'm using the following command:</p>
  
  <pre><code>Get-Content &lt;file name&gt; -Wait | Select-String -Pattern &lt;some string&gt;
  </code></pre>
  
  <p>The command prints, all lines that having the string and new lines having the string.</p>
  
  <p>How can I show just new lines from the moment I run the command and not all lines on the files ?</p>