title: How to set environment variable with dot in name using powershell?
body: <p>I want to set environment variable in powershell that has dot in name.
  This line throws an error:</p>
  
  <p><code>$env:Test.Env.Var1 = "test111"</code></p>
  
  <pre><code>The property 'Var1' cannot be found on this object. Verify that the property exists and can be set.
  At line:1 char:1
  + $env:Test.Env.Var1 = "test111"
  + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
      + FullyQualifiedErrorId : PropertyNotFound
  </code></pre>
  
  <p>Is it possible to set "Test.Env.Var1" variable without using <code>[Environment]::SetEnvironmentVariable</code> method?</p>