Get Latest Version of Folder from TFS, using Powershell

前端 未结 3 1145
旧时难觅i
旧时难觅i 2020-12-18 03:29

I am trying to \"Get Latest Version\" of a particular folder from TFS, using Powershell.

I have installed the TFS Snappin, and have been using TFS P

3条回答
  •  遥遥无期
    2020-12-18 03:54

    Gotcha! with Update-TFSWorskpace. Has some helpful parameters as well. -Items is used to specify the exact items you want to update.

    PS D:\Tfs\APD-RepairSolutions\Main>Update-TFSWorkspace -All -Overwrite -Force -Recurse -Items .\Database
    

    The Workspace is replaced with updated versions of items. Thanks @Kmoraz!

提交回复
热议问题