0
数週間前にこのエラーがポップアップを開始しました。Powershell Register-PSRepositoryの「無効なWeb Uri」を修正するには?
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がどこに保存されているかを見つけて、必要なときに手動でファイルを編集したいと思います。
見つけた:$ env:LOCALAPPDATA \ Microsoft \ Windows \ PowerShell \ PowerShellGet \ – user1869558