数週間前、このエラーがポップアップし始めました。
Set-PSRepository : The specified Uri 'http://*****' for parameter
'SourceLocation' is an invalid Web Uri.
Please ensure that it meets the Web Uri requirements.
Powershellをアンインストールする以外に、これを修正する方法がわかりません。StackOverflow で利用可能な回避策がありますが、それは扱いにくく、長期的には機能しません。
率直に言って、PSRepositories が保存されている場所を見つけて、必要に応じてファイルを手動で編集したいだけです。