According to this link, there is an option to add powershell scripts to the build via a post build script path property.
To invoke our script for front-end build tasks (clientcompile.bat), we need to configure the build process. Open the ‘Process’ tab and expand section ‘5. Advanced’ inside the Build section. Specifically we’re going to provide the ‘Post-build script’ information. The script will be executed on the build infrastructure after the source code has been compiled, hence post-build.
I'm using TFS Online and I only have 3 sections, '3. Advanced' and no option to enter post-build script information.
How can I get this option available? Is it available on the online TFS build?