title: Proxy Issues with Install Module
body: <p>Running the following setup:</p>
  
  <ul>
  <li>Server 2012 R2 </li>
  <li>PSVersion: 4.0 </li>
  <li>WSManStackVersion: 3.0 </li>
  <li>Git version 2.11.1                                                       </li>
  <li>Package Management Preview - x64: 10.0.10586.117 </li>
  <li>SharpZipLib: 0.86.0 </li>
  <li>NuGet: 2.8.5.208</li>
  </ul>
  
  <p>Trying to install the posh-git module gives:</p>
  
  <pre><code>PowerShellGet\Install-Module posh-git -Scope CurrentUser
  </code></pre>
  
  <p>But getting </p>
  
  <blockquote>
    <p>PackageManagement\Install-Package : No match was found
    for the specified search criteria and module name 'posh-git'.</p>
  </blockquote>
  
  <p>When trying <code>Get-PackageSource</code> and <code>Get-PSRepository</code> I get</p>
  
  <blockquote>
    <p>WARNING: Unable to find package sources </p>
  </blockquote>
  
  <p>and </p>
  
  <blockquote>
    <p>WARNING: Unable to find module repositories.</p>
  </blockquote>
  
  <p>I'm sitting behind a TMG proxy and tried using the <code>-Proxy</code> switch and setting setting winttp proxy with no luck.</p>