title: What is the best way to escape HTML-specific characters in a string (PowerShell)?
body: <p>I'm generating some simple HTML with PowerShell script, and I would like to escape strings used in result HTML (since they can contain some HTML-specific symbols).</p>
  
  <p>For example:</p>
  
  <pre><code>$a = "something &lt;somthing else&gt;";
  </code></pre>
  
  <p>should be converted to the following:</p>
  
  <pre><code>"something &amp;lt;something else&amp;gt;"
  </code></pre>
  
  <p>Is there any built-in function for that?</p>