< Back

Get-AzureRmWebApp

Tue Jan 29, 2019 10:12 pm

NAME Get-AzureRmWebApp



SYNOPSIS

Gets Azure Web Apps in the specified resource group.





SYNTAX

Get-AzureRmWebApp [-AppServicePlan] <ServerFarmWithRichSku> [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]



Get-AzureRmWebApp [-Location] <String> [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]



Get-AzureRmWebApp [[-ResourceGroupName] <String>] [[-Name] <String>] [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]





DESCRIPTION

The Get-AzureRmWebApp cmdlet gets information about an Azure Web App.





PARAMETERS

-AppServicePlan <ServerFarmWithRichSku>

App Service Plan object



Required? true

Position? 0

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Location <String>

Location



Required? true

Position? 0

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Name <String>

WebApp Name



Required? false

Position? 1

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ResourceGroupName <String>

Resource Group Name



Required? false

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

System.String







OUTPUTS

Microsoft.Azure.Management.WebSites.Models.Site







NOTES









Example 1: Get a Web App from a resource group



PS C:\\>Get-AzureRmWebApp -ResourceGroupName "Default-Web-WestUS" -Name "ContosoSite"



This command gets the Web App named ContosoSite that belongs to the resource group Default-Web-WestUS.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... rermwebapp

New-AzureRmWebAppBackup

Remove-AzureRmWebApp

Restart-AzureRmWebApp

Restart-AzureRmWebApp

Stop-AzureRmWebApp