title: Parse string in Powershell
body: <p>Learning powershell, trying to find out how to parse the first value from this resultset (<code>10.60.50.40</code>):</p>
  
  <pre><code>IPAddresses
  -----------
  {10.60.50.40, fe80::5ddf:a8f4:e29c:b66}
  </code></pre>
  
  <p>Normally I would just look it up, however, I don't know if {x, x} is a standard datatype of sorts in <code>Powershell</code> land.</p>
  
  <p>Do I have to do rough string parsing, or is there some standard command to extract the first one, such as:</p>
  
  <pre><code>... | Select-Object IPAddresses | Select-String [0]
  </code></pre>
  
  <p>(I just made the select string part up. I'm lost.)</p>