Reputation: 349
I am trying to run a powershell script with cmdlet Get-AzureRmWebApp but get the error
Get-AzureRmWebApp : The term 'Get-AzureRmWebApp' 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.
I have installed module Az and AzureRM which I thought will be the one, but no luck. Is there any aother command after Install-Module -Name AzureRM that is required ?
thanks
Upvotes: 3
Views: 1844
Reputation: 1788
Try
Install-Module -Name AzureRM.Websites
Refrence - https://learn.microsoft.com/en-us/powershell/module/azurerm.websites/?view=azurermps-6.13.0
Upvotes: 3