Get Last Good Deployment To Specific Environment for TFS Release Revisited
Hello! Yesterday I posted a bit of PowerShell that uses the TFS API to return the last good deployment for a given release and release environment. It was all good until I realised that do part will continue to take longer and longer, and the $result get bigger and bigger as more releases are created. This is because I retrieve ALL the releases before querying them as the until ends when there are no more continuationtoken returned from the Invoke-WebRequest.