Custom scripts to checkout TFS
<p>We have a team city hosted on Linux OS machine. We have a TFS repository for which we need to make auto build and  auto deploy. But when I am setting up VCS root it giving me error that TFS root can be created only on a machine running under Windows machine. I looked for the solution and one solution I got is we can use tfs-plugins. 
<br>Is there a way to write a custom script must be used to checkout the code for every checkin. Please Help!!</p>