I had a situation where a branch had been deleted and there was no purpose for it to stick around. I couldn’t get tf destroy to work until I found out the deletion number of the directory like Damien mentioned. I couldn’t get that ID with tf properties since there was no local copy and no server copy based on the error messages.
I was able to get the full TFS path by using:
tf dir $/MyPathTo/TheParent/Directory /deleted
Then I found the postfixed “;Ident” to the directory and could issue:
tf destroy $/MyPathTo/TheParent/Directory/TheDirectoryToGetRidOff;Ident
Damien your answer helped me out – thanks. I thought I’d include the syntax that got me through it to go along with your post.