title: Is there a way to access TeamCity system properties in a Powershell script?
body: <p>I'm trying to set up a new build configuration in TeamCity using the Powershell runner. However, I can't seem to find a way to access the TeamCity System Properties in the build script. I've seen hints that it is possible, but cannot find documentation on how to do it.</p>
  
  <p>I have tried accessing the system properties using Powershell variable syntax, $variable. I have also printed out all variables in memory and see no teamcity variables to use. </p>
  
  <p>Is this possible with the Powershell runner, and if so what is the syntax necessary to get it working?</p>