Copy-Item documentation This topic contains 2 replies, has 3 voices, and was last updated by Don Jones 4 months, 1 week ago. Author Posts January 14, 2018 at 11:00 am #91396 Karol RogowskiParticipant Hello I got a question regarding passing pipeline parameters. I have crated a script. Get-ChildItem -path "C:\Users\karol\Desktop\Migration\Queries" -Recurse -Include "*Run*.sql" | Copy-Item -Destination "C:\Users\karol\Desktop\copyResult" It worst and is quite easy to understand. My question is about using Copy-Item that way. I used it that way because it was intuitive. I would like to know how to verify it on documentation level that files to be copied can be passed via pipeline. https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/copy-item?view=powershell-5.1 Thanks January 14, 2018 at 11:11 am #91402 Sam BoutrosParticipant https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_pipelines?view=powershell-5.1 January 14, 2018 at 3:52 pm #91408 Don JonesKeymaster There's also a really excellent chapter in "Learn Windows PowerShell in a Month of Lunches" that explains the pipeline, and how it works, in great detail. Author Posts You must be logged in to reply to this topic.