thinkrethink.net
Set Buildnumber from Inline Powershell
Tips and tricks Inline Powershell task VSTS, set the build number for the build from Powershell