This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #In VSTS set Options > Allow Scripts to Access OAuth Token or you'll get an error | |
| invoke-webrequest | |
| -Method POST | |
| https://<your site>/DefaultCollection/Digital%20Apprenticeship%20Service/_apis/build/builds?api-version=2.0 | |
| -Body "{'definition':{'id': 1}}" | |
| -headers @{"Authorization"="Bearer $(System.AccessToken)"} | |
| -usebasicparsing | |
| -ContentType "application/json" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # install chocolatey before running http://chocolatey.org/ | |
| #note this doesn't install the web components (go into programs and features and change the install for visual studio) | |
| cinst VisualStudio2013Premium | |
| #cinst VS2013.1 | |
| cinst VS2013.2 | |
| cinst resharper | |
| cinst notepadplusplus | |
| cinst fiddler4 |
NewerOlder