title: Error: You must provide a value expression on the right hand side of the '-' operator
body: <p>You can try this:</p>
  
  <pre><code>function setConfig( $file) {
      $content = Get-Content $file
      $content -remove '$content[1..14]'
      Set-Content $file     
  }
  </code></pre>
  
  <p>I want to make a function through which I can pass through files so that it deletes specific lines or bunch of lines</p>