title: Add values to PS object from other PS command
body: <p>I created the following object:</p>
  
  <pre><code>$PSOhash = @{
      ConnectedNode = $ConnectedNode
      ConnectedNodeDeviceNumber = $ConnectedNodeDeviceNumber
      Serialnumber = $Serialnumber
      ProductId = $ProductId
      }
  $ClusterNodeSSDs =  New-Object PSObject -Property $PSOhash
  </code></pre>
  
  <p>and want to add values from the following command into it: </p>
  
  <pre><code>$SSDModel = "xyz123" 
  $ClusterNode = "Node1"
  gwmi -Namespace root\wmi ClusPortDeviceInformation| select ConnectedNode,ConnectedNodeDeviceNumber, Serialnumber, ProductId | sort ConnectedNodeDeviceNumber | where {($_.ConnectedNode -eq $ClusterNode) -and ($_.ProductId -match "$SSDModel")}
  </code></pre>
  
  <p>which returns the proper informations, but need them as properties in the object for further processing.</p>