'Automate to run a script after a TFS checkin

Im using Visual Studio. After I check-in something in TFS, is there a way I can automatically run a script?

Edit: Using Visual Studio 2019, TFS 2017, Right now, I have a script which i run everytime to copy items checkin to the clipboard. I do this manually everycheckin so wanted to see if there is a way to automate this

tfs


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source