0

According to the Prerequisites section of this official Azure documentation you can find the latest version of the new Azure Az module by running Get-Module -ListAvailable Az command. I successfully installed the new module on my Windows 10 Pro - Update 1809. But when I run the above command, I get no output as shown in the image below. Question: What I may be missing here, or is it a bug?

NOTE: The question is specific to the above command for the new Azure Az module and NOT like the one already nicely answered here.

enter image description here

nam
  • 21,967
  • 37
  • 158
  • 332

1 Answers1

0

The same behavior as you. The Get-Module cmdlet gets the PowerShell modules that have been imported, or that can be imported, into a PowerShell session. On my side, there is not the name Az module just Az.* modules in the output of Get-Module -ListAvailable. So I get no output by running Get-Module -ListAvailable Az command.

enter image description here

Generally, you could get the PowerShell modules name Az installed on a computer directly by using Get-InstalledModule. enter image description here

Nancy
  • 26,865
  • 3
  • 18
  • 34
  • The question is specific to the article claiming that "Get-Module -ListAvailable Az" command will display the version of PowerShell installed on our machine. But I do want to thank you for taking your time to verify my observation and then providing a way to find out the latest version installed on the machine. – nam Feb 11 '19 at 19:31