title: Get-ChildItem Doesn't Work With Include
body: <p><a href="https://i.stack.imgur.com/FRjcw.png" rel="noreferrer"><img src="https://i.stack.imgur.com/FRjcw.png" alt="enter image description here"></a></p>
  
  <p>Example I am following:</p>
  
  <pre><code>Get-ChildItem c:\scripts\*.* -include *.txt,*.log
  </code></pre>
  
  <p><a href="https://technet.microsoft.com/en-us/library/ee176841.aspx" rel="noreferrer">https://technet.microsoft.com/en-us/library/ee176841.aspx</a></p>
  
  <p>What gives? Why don't I get back a list of my test.txt files when I try to use include?</p>
  
  <p>As a side note, what is <code>c:\scripts\*.*</code>. It seems to be saying include a file with any name that has any format. But isn't that specified in the include? Anyway, more interested in why my seemingly basic code doesn't work.</p>