We are using TFS build in 2013 to automate build & deploy process. For this we have also added some powershell scripts that perform some tasks like copying of binaries to a central location etc.
To add logs during the process we use "Write-Host" method. It logs message in the detailed log but I would like to add them in the Activity logs so that it can be shown in the IDE itself during the build process.
How can we achieve this?