1. I did not experiance the problem u explained that could be resolved with the newtonsoft.json. Instead when u use $json = ConvertTo-Json -InputObject $temp -Depth 999 it will get accepted.

    Erick Segaar Beantwoorden

  2. Can you create a new build definition using powershell in tfs?

    If yes, can you please provide an example?


    Parag Shah Beantwoorden

  3. Thank you so much Léon, this helped me a great deal! Much appreciated 🙂

    Morné Kruger Beantwoorden

  4. In the section Requesting a JSON build definition in the second set of PS code a reference is made to $buildDefinitionUrl. I see it does state “This entry contains the url from which we can request the actual build definition”. I don’t see where the example actually sets this value. Would this be the same value as the $baseUrl that was previously referenced? If not, could I get a little more explanation what the value of $buildDefinitionUrl would look like?
    Thanks in advance

    kgkidd Beantwoorden

  5. Thank you so much Leon for supplying the script with explanation

    Tanvver Beantwoorden