title: How to change text in a XML element?
body: <p>Let's say I have the following XML element:</p>
  
  <pre><code>&lt;test&gt; 1000 &lt;/test&gt;
  </code></pre>
  
  <p>I want to change it to: </p>
  
  <pre><code>&lt;test &gt; 500 &lt;/test&gt;
  </code></pre>
  
  <p>Using PowerShell how would I do this.</p>
  
  <p>I know how to make the xml object with PowerShell and make a node variable to access a certain node within the XML. I just don't know the exact command(s) to replace the text inside the node.</p>