0

Is there any way to list all webapp service of a certain group by azure cli or azure powershell script?

Akash paul
  • 93
  • 2
  • 9

1 Answers1

0

You can do with

PowerShell Get-AzWebApp

Get-AzWebApp -ResourceGroupName "yourRGName"
Sajeetharan
  • 216,225
  • 63
  • 350
  • 396
  • It's showing the following error on powershell.... `Get-AzWebApp : The term 'Get-AzWebApp' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + Get-AzWebApp -ResourceGroupName "mygroup" + ~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (Get-AzWebApp:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException` – Akash paul Jul 19 '21 at 13:40
  • Did you read it well? it's a Azure CLI command not powershell – Sajeetharan Jul 19 '21 at 13:41
  • 1
    Get-AzWebApp *is* Azure PowerShell cmdlet. – Gaurav Mantri Jul 19 '21 at 14:08
  • Yeah right, i got confused between az and AzWebApp – Sajeetharan Jul 19 '21 at 14:10
  • @Akashpaul you need to install the necessary modules to work with – Sajeetharan Jul 19 '21 at 14:11