Search code examples
azurepowershellazure-cli

How can i add an extension to Powershell?


I am using the following command in Powershell

 az webapp config ssl show

But i get an error:

 az : az webapp config ssl: 'show' is not in the 'az webapp config ssl' command group.

How can i add the extension ?


Solution

  • You can use the az extension add --name cmdlet to add a particular extension in Azure CLI as shown below

    enter image description here

    Here is the az extension add cmdlet with the allowed properities:

    az extension add [--name]
                     [--pip-extra-index-urls]
                     [--pip-proxy]
                     [--source]
                     [--system]
                     [--upgrade]
                     [--version]
                     [--yes]
    

    Refer to this documentation for more information about az extension cmdlet with supported operations.