title: Expand property in hashtable
body: <p>I'm having a simple issue with a script, where I want to run a GCI against a remote server, issue is, the value is combined with another hashtable property, so the GCI fails.</p>
  
  <p>The script reads entries from a two-column .csv, the headers are "server" and "platform"</p>
  
  <p>Here's what I've got:</p>
  
  <pre><code>$ShortDate = (Get-Date).ToString('MM/dd/yyyy')
  $CheckServer = @{}
  $serverObjects = @() # create a list of server objects
  
  Import-Csv $Dir\Servers.csv | ForEach {  
      $CheckServer.Server = $_.Server
      $CheckServer.Platform = $_.Platform
  
      if (GCI \\$_.Server\c$\log\Completed_Summary_*.html -EA 0 | where {$.LastWriteTime -ge "$ShortDate"}) {
          Write-Host "FOUND"
      } # end of IF GCI
  } # end of For-Each
  
  $serverObjects += New-Object -TypeName PSObject -Property $CheckServer
  </code></pre>
  
  <p>The problem is that the entry for <code>$_.Server</code> should be SERVER1, SERVER2, SERVER3, etc, all the entries in the servers.csv, instead, the values for both <code>$_.Server</code> and <code>$_.Platform</code> are combined.  Such as:</p>
  
  <pre><code>Write-Host "Checking" \\@{Server=SERVER1; Platform=PLATFORM_1}.Server\c$\log\Completed_Summary_*.html
  </code></pre>
  
  <p>it should show as follows:</p>
  
  <pre><code>Write-Host "Checking" \\SERVER1\log\Completed_Summary_*.html
  </code></pre>
  
  <p>How do I un-combine them so that the GCI command works?</p>