title: Using the replace operator on a string that has quotes powershell
body: <p>I am looking to run the command</p>
  
  <pre><code>foreach-object {$_ -replace
  </code></pre>
  
  <p>However the string I am attempting to work with could be described as the follow</p>
  
  <pre><code>this string "has" quotes
  </code></pre>
  
  <p>the whole line being </p>
  
  <pre><code>foreach-object {$_ -replace "this string "has" quotes", "this string "won't have" quotes"}
  </code></pre>
  
  <p>How do I make this quote filled line work with powershell?</p>