Script Download:
The script is available for download from https://gallery.technet.microsoft.com/How-to-alter-Azure-Cloud-e78c5bed.
The sample code demonstrates How to change Azure Cloud Service definition file on VSTS based on target profile.
You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery