title: Jenkins: Access global passwords in powershell
body: <p>I am having trouble accessing the jenkins global password as an environment variable in powershell. I have done the following. Not sure what else I am missing.  </p>
  
  <ol>
  <li>Installed Credentials Binding Plugin, Environment Injector Plugin, Mask Passwords Plugin, Hudson PowerShell plugin</li>
  <li>Created a global password entry within manage credentials as gluser</li>
  <li>In my build, I have a powershell call with the build environment defined for inject passwords to the build as environment variables and checked for global passwords.</li>
  <li>None of the following get me to reference the global password in my powershell scripts<br>
  <code>$env:gluser</code><br>
  <code>$gluser</code></li>
  </ol>
  
  <p>None of them seem to let me access the global password within powershell call from Jenkins. Could someone please help?</p>