$tfs=Get-TfsServer -name http://mytfs:8080/tfs/defaultcollection
Get-TfsChildItem $/ALM/Dev -Deleted -server $tfs
In VS, Source Control Explorer I see several folders beneath that has been deleted but these are not returned from the query.
Actually, there is no difference between
Get-TfsChildItem $/ALM/Dev -Deleted -server $tfs and
Get-TfsChildItem $/ALM/Dev -server $tfs
Can somebody help explaining how this is supposed to work?
Thanks for your post.
I reproduced this scenario in my TFS Power Tools Power Shell console, the result same with your description.
Get-TfsChidItem $/TeamProject –server $tfs
Get-TfsChidItem $/TeamProject–Folder –server $tfs
Get-TfsChidItem $/TeamProject–Deleted –server $tfs
They return the all the folders which under the team project, it seems that the –Deleted option not work in this command.
For this scenario, I suggest you submit it as a suggestion to Microsoft Connect Feedback portal at:
https://connect.microsoft.com/VisualStudio. Microsoft engineers will evaluate them seriously.
John Qiao [MSFT]
MSDN Community Support | Feedback to us