WARNING: Unable to find module repositories. "Get-PSRepository" ubuntu20.04

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.

5

1 Answer

Registering PSRepositories requires the repository to be contacted at runtime.

Can you confirm you can access the repository?

invoke-webrequest -Uri ' 
4

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

You Might Also Like