Contrary to the claim towards the end of the "Prerequisites" section of this article, the command "Get-Module -ListAvailable Az: does not display the latest version of the PowerShell installed on the machine. In fact, it does not display any output. Could it be a typo in the document?
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@saf-itpro Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.
@saf-itpro thanks for bringing this to our attention, we appreciate it! I've investigated and found an alternate solution - I will update the article soon.
Until that time, for reference, you may use Get-InstalledModule -Name Az -AllVersions | select Name,Version to get the current installed version.
Changes have been merged, they should appear sometime tomorrow.
Again, thank you @saf-itpro , we really do appreciate you bringing this to our attention!