nerdexam
Microsoft

AZ-700 · Question #75

While working on Azure PowerShell, some of the values mentioned in the instructions are getting failed. One of your friends suggests you ensure that you have installed the latest version to avoid such

The correct answer is A. Get-Module -ListAvailable Az. The correct cmdlet is Get-Module -ListAvailable Az. In Azure PowerShell, Get-Module is the standard PowerShell cmdlet used to retrieve information about modules. The -ListAvailable parameter shows all modules installed on the system (not just those currently loaded in the session

Submitted by yousef_jo· Apr 18, 2026

Question

While working on Azure PowerShell, some of the values mentioned in the instructions are getting failed. One of your friends suggests you ensure that you have installed the latest version to avoid such issues. Which of the following cmdlets would you use to find the versions of Azure PowerShell that have been installed on your computer?

Options

  • AGet-Module -ListAvailable Az
  • BGet-Module -AzList
  • CRetrieve-Module -ListAvailable Az
  • DRetrieve-Module -AzList

How the community answered

(27 responses)
  • A
    81% (22)
  • B
    4% (1)
  • C
    11% (3)
  • D
    4% (1)

Explanation

The correct cmdlet is Get-Module -ListAvailable Az. In Azure PowerShell, Get-Module is the standard PowerShell cmdlet used to retrieve information about modules. The -ListAvailable parameter shows all modules installed on the system (not just those currently loaded in the session), and Az is the module name for the Azure PowerShell module collection. There is no -AzList parameter in PowerShell, and Retrieve-Module is not a valid PowerShell cmdlet - it does not exist. Only Get-Module, Import-Module, and Remove-Module are standard module-related cmdlets.

Community Discussion

No community discussion yet for this question.

Full AZ-700 Practice