title: Powershell - Use the value of a select-object expression
body: <p>Very new to the powershell game, thought it was time to skill up into it.  I'm doing OK with the operators etc but I'm having trouble actually working with the returned data,  I can't seem to wrap my head around it.</p>
  
  <p>I've parsed a file using <strong>Get-Content</strong> and a <strong>Select-String</strong> and passed the returned line into a variable $temp1.</p>
  
  <p>If I look at the properties of $test1 using:</p>
  
  <pre><code>&gt;&gt;$temp1 | select-object -expandproperty Matches
  </code></pre>
  
  <p>I get the following output:</p>
  
  <pre><code>Groups   : {http://download.avgfree.com/softw/13free/update/u13iavi5825cq.bin, 5825cq}
  Success  : True
  Captures : {http://download.avgfree.com/softw/13free/update/u13iavi5825cq.bin}
  Index    : 447
  Length   : 65
  Value    : http://download.avgfree.com/softw/13free/update/u13iavi5825cq.bin
  </code></pre>
  
  <p>The line itself is a long string of garbage, what I'm actually after is now contained in the <strong>Value</strong> property but for the life of me I can't figure out how to actually USE it!</p>
  
  <p>Basically what I want to do is use the address in the <strong>Value</strong> property to issue a download of that particular file.</p>
  
  <p>Apologies if I'm not clear,  today is my first PS day so I'm still struggling even to get around the jargon!</p>
  
  <p>Thanks in advance.</p>