Search code examples
powershellazureversionpowershell-cmdletazure-powershell

How do I find the Azure PowerShell version?


I need to find the installed Azure PowerShell version through cmdlets code. How do I find the Azure PowerShell version?

Note: Other than cmdlets code is also welcome.


Solution

  • Use:

    (Get-Module azure).Version
    

    This will return version of installed Azure PowerShell.

    Azure PowerShell version