Set output variable in a Powershell VSTS Build Task

I have value in my artifact files. I set it in this post . So now I can use it. I will get it almost the same way - using powershell.
My storytelling: Software development and software gardening