title: Is there a way to store Get-ChildItem object in variable
body: <p>I am trying to do next: </p>
  
  <pre><code>$a = $(Get-ChildItem -Path path | Select-Object -Property creationtime, name, size )
  $a.Name
  $a.CreationTime
  $.Size
  </code></pre>
  
  <p>I am getting an error. </p>
  
  <p>When I select single attribute - no problem.</p>
  
  <p>Is there a way to select whole object into variable <code>$a</code>? </p>