Quantcast
Channel: Team Foundation Server - General forum
Viewing all articles
Browse latest Browse all 6687

How to copy a folder from TFS source control to Shared location with Powershell script

$
0
0

Hi,

I'm looking for a Powershell script where i could copy a folder from TFS Source control to a shared location.

Details:

$TeamProject/FolderA - here i want to move FolderA to a shared location called \\Share

Tried with xcopy: xcopy "$TeamProject/FolderA" "\\Share" ( but no luck, later i found it's only possible to copy files from local to share or share to share location, not from server path to shared location.

Can someone help me with the power-shell script to achieve above scenario.


Thanks, BHSR


Viewing all articles
Browse latest Browse all 6687

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>