I want to copy all the files available in my TFS source server to a folder in a directory.I tried th

Posted by deep on Stack Overflow See other posts from Stack Overflow or by deep
Published on 2010-04-29T09:08:48Z Indexed on 2010/04/29 14:17 UTC
Read the original article Hit count: 216

Filed under:
PS> C:\Windows\System32> Get-TfsItemProperty $/MyFirstTFSProj -r `
    -server xyzc011b| Where {$_.CheckinDate -gt (Get-Date).AddDays(-150)} |
    Copy-Item  D:\john\application1 -Destination C:\Test -whatif

Copy-Item : The input object cannot be bound to any parameters for the command
either because the command does not take pipeline input or the input and its pr
operties do not match any of the parameters that take pipeline input.
At line:2 char:14
+     Copy-Item  <<<<  D:\Deepu\SilverlightApplication5 -Destination C:\Test -w
hatif

© Stack Overflow or respective owner

Related posts about powershell