title: Filter Objects returned by Get-ChildItem
body: <p>I had a look at the properties available for objects returned by Get-ChildItem command using:</p>
  
  <pre><code>PS C:\&gt; Get-ChildItem | Get-Member
  </code></pre>
  
  <p>This command shows that objects returned by Get-ChildItem command possess properties 'Name, FullName, LastAccessTime etc...'</p>
  
  <p>I declare a variable to retrieve objects starting with 'Program':</p>
  
  <pre><code>PS C:\&gt; $ChildItems_Program = Get-ChildItem -name 'Program*'
  </code></pre>
  
  <p>Checking what is stored in $ChildItems_Program</p>
  
  <pre><code>PS C:\&gt; $ChildItems_Program
  Program Files
  Program Files (x86)
  </code></pre>
  
  <p>Trying to access properties 'Name, FullName, LastAccessTime' from the first object saved in $ChildItems_Program</p>
  
  <pre><code>PS C:\&gt; $ChildItems_Program[0] | Select -Property Name, FullName, LastAccessTime
  
  Name                                 FullName                             LastAccessTime
  ----                                 --------                             --------------
  </code></pre>
  
  <p>Why I can't see any results for above command- Shouldn't it return the properties of first object saved in $ChildItems_Program?
  Can anyone please guide.</p>
  
  <p>Thank you!</p>