title: TeamCity and PowerShell dont assigns a value to a variable
body: <p>I'm studying team city, and it's just a wonderful thing! However, I have an env.versionReleas to which a value should be assigned in the PowerShell script, but not assigned. The script is quite simple</p>
  <pre><code>$sss=&quot;afaf&quot;
  Write-Host &quot;##teamcity[versionReleas name='env.versionReleas' value='$sss']&quot;
  </code></pre>
  <p>and this variable remains empty. What am I doing wrong?
  TeamCity: 2021.1.1 (build 92714)
  Spes settings env did not give anything. It seems that Team city does not respond to my message. The answers that are on the site do not help. The value remains empty, just as it was empty</p>
  <p><img src="https://i.stack.imgur.com/ZJ5EP.png" alt="enter image description here" /></p>