title: How to fix "invalid Web Uri" for Powershell Register-PSRepository?
body: <p>A few weeks ago this error started popping up.</p>
  
  <pre><code>Set-PSRepository : The specified Uri 'http://*****' for parameter     
  'SourceLocation' is an invalid Web Uri. 
  Please ensure that it meets the Web Uri requirements.
  </code></pre>
  
  <p>I'm not sure how to fix this short of uninstalling Powershell. There is a workaround available on StackOverflow but it's clunky and will not work for me long term. </p>
  
  <p>Frankly I'd rather just find where the PSRepositories are stored and edit the files manually when I need to. </p>