Why is installing the Az module so slow?

0
29
Asked By CuriousCat123 On

Hey everyone! I'm trying to install the Az module, but it seems to be taking forever. It's been hanging for almost an hour now without completing. Is anyone else facing this issue?

4 Answers

Answered By JustAnotherDev On

If you're worried about long install times, you might want to only install the specific Az modules you need rather than the whole package. It can save you a lot of time.

Answered By ScriptingWizard8 On

Also, just a heads up, there are some modules like Azure AD PowerShell and MS Online that are being deprecated soon. If you're just running `install-module az` for everything, you might be setting yourself up for extra headaches down the road!

Answered By TechJunkie45 On

I've noticed that using `Install-PSResource` works way faster than `Install-Module`. But if you're trying to install all the Az modules, keep in mind that it's a massive amount of data—like gigabytes. So, it might take a while regardless.

Answered By CodeNinja77 On

Yeah, the Az module is made up of tons of smaller modules. It’s pretty crazy! If you're trying to install everything, it's bound to take a while. I saw new modules being added in real-time when I ran `get-installedmodule -name Az*`, but man, it is painfully slow.

CodeGuru99 -

Right? It feels like watching paint dry, haha!

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.