Bewerken

Delen via


Reset-AzWebAppPublishingProfile

Resets the publishing profile for the specified Web App.

Syntax

Reset-AzWebAppPublishingProfile
     [-ResourceGroupName] <String>
     [-Name] <String>
     [-DefaultProfile <IAzureContextContainer>]
     [<CommonParameters>]
Reset-AzWebAppPublishingProfile
     [-WebApp] <PSSite>
     [-DefaultProfile <IAzureContextContainer>]
     [<CommonParameters>]

Description

The Reset-AzWebAppPublishingProfile cmdlet resets the publishing profile for the specified Web App.

Examples

Example 1

The following example resets the publishing profile for the Web App IpRule associated with the resource group MyResourceGroup.

Reset-AzWebAppPublishingProfile -Name IpRule -ResourceGroupName MyResourceGroup

Parameters

-DefaultProfile

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

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Name

WebApp Name

Type:String
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-ResourceGroupName

Resource Group Name

Type:String
Position:0
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-WebApp

WebApp Object

Type:PSSite
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

Inputs

String

PSSite

Outputs

String