WARNING: Unable to find module repositories. "Get-PSRepository" ubuntu20.04
Olivia Zamora
I was trying to install Az-Module in my Ubuntu power-shell, But It wasn't installing than I double checked the PSRepository and I came to know that I don't have any repository there.
I also have tried to Register the default repository But it didn't worked out and Also, I've tried to uninstall power shell and re-install it but nope, Nothing is working out.
Need expert advise on it how to Register PSREPOSITORY successfully and Install Az module.
51 Answer
Registering PSRepositories requires the repository to be contacted at runtime.
Can you confirm you can access the repository?
invoke-webrequest -Uri ' 4