< Back

Stop-AzureRmWebApp

Tue Jan 29, 2019 10:12 pm

NAME Stop-AzureRmWebApp



SYNOPSIS

Stops an Azure Web App.





SYNTAX

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



Stop-AzureRmWebApp [-WebApp] <Site> [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]





DESCRIPTION

The Stop-AzureRmWebApp cmdlet stops an Azure Web App.





PARAMETERS

-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



-Name <String>

WebApp Name



Required? true

Position? 1

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ResourceGroupName <String>

Resource Group Name



Required? true

Position? 0

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-WebApp <Site>

WebApp Object



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByValue)

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

Site

Parameter 'WebApp' accepts value of type 'Site' from the pipeline





OUTPUTS



NOTES









Example 1: Stop a Web App



PS C:\\>Stop-AzureRmWebApp -ResourceGroupName "Default-Web-WestUS" -Name "ContosoWebApp"



This command stops the Web App named ContosoWebApp that belongs to the resource group named Default-Web-WestUS.







RELATED LINKS

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

Get-AzureRmWebApp

New-AzureRmWebAppBackup

Remove-AzureRmWebApp

Restart-AzureRmWebApp

Restart-AzureRmWebApp