Leo Tohill wrote:
> I have a directory "c:\temp" with files like "qa_1.mdf" and qa_2.mdf"
>
> get-childitem c:\temp
> shows them
>
> get-childitem c:\temp -include qa*
> shows them
>
> get-childitem c:\temp -include *.mdf
> does not.
>
> why?
>
>
> I've read the doc that "The Include parameter is effective only when the
> command includes the Recurse parameter or the path leads to the contents of
> a directory, such as C:\Windows\* ..."
>
> Which I can accept without understanding, but I'd rather understand it. If
> the path is simply "c:\temp", how is the -include interpreted?
Without the source, there's not a whole lot we can tell you but make
general assumptions about what the issue might be.
Hopefully you understand that probably only Microsoft will only be able
to comment really.
Let's see if someone comes online in the next week or 2, then maybe we/I
can try to get an answer otherwise.
Marco
--
Microsoft MVP - Windows PowerShell
http://www.microsoft.com/mvp
PowerGadgets MVP
http://www.powergadgets.com/mvp
Blog:
http://marcoshaw.blogspot.com