Get Latest Version of Folder from TFS, using Powershell -
i trying "get latest version" of particular folder tfs, using powershell.
i have installed tfs snappin, , have been using tfs power tools cmdlets in powershell (such get-tfschilditem , select-tfsitem etc) [how set tfs powershell snapin ], , have gone through documentation (which didn't find explanatory enough!).
confused, on exact cmdlet use, when trying latest version of entire folder structure tfs, mapped local drive (and not changeset or childitem).
example : tfs path - $/apd-repairsolutions/main/database
mapped path - d:\tfs\apd-repairsolutions/main/database.
i want code, iteratively latest version of entire folder database,( has number of tables,stored procedures etc.)
i using ..
ps d:\tfs\apd-repairsolutions\main\database> $server=get-tfsserver -name http://tfs:8080/tfs ps d:\tfs\apd-repairsolutions\main\database> get-tfschangeset -recurse -server $server
not helping case - returning latest changeset in current directory.
to latest (tf get
) use update-tfsworkspace
.
get-tfschangeset
equivalent of tf changeset
.
Comments
Post a Comment