Page 2 of 2

Re: PowerShell Studio "add to" with TFS problem

Posted: Tue Feb 09, 2016 1:13 am
by KSSG-Departement-IT
Ok, good to know :-)
My last question:

Add to works and also the Check-In, but if I Check-In a project, the wizard ask me for every single file.
09-02-_2016_10-00-29.jpg
09-02-_2016_10-00-29.jpg (158.23 KiB) Viewed 2656 times
If I change multiple files it is a little bit annoying. Is there a way to Check-In all Files with the same Comment? At the moment I use Team Explorer directly to check-In a whole Project, but it would be nice to do it within PowerShell Studio.

Re: PowerShell Studio "add to" with TFS problem

Posted: Tue Feb 09, 2016 11:38 am
by DevinL
You could add another line to your CustomMenu.inf that runs the Check-In command against all the files with a preset comment.

Try adding something like the following:

3=TFS - Check-In;"C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\TF.exe" checkin /comment:("Comment")

Just modify the comment between quotes to whatever you want and it should checkin all files at once. If you don't want the prompt since you'll be using the same comment each time, just add /noprompt to the end of the line.

Re: PowerShell Studio "add to" with TFS problem

Posted: Tue Feb 09, 2016 11:23 pm
by KSSG-Departement-IT
I will add this, thanks for your Support :)

Re: PowerShell Studio "add to" with TFS problem

Posted: Wed Feb 10, 2016 8:48 am
by DevinL
No problem! If you have any further issues, please don't hesitate to post again.