Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Get-AzWebAppPublishingProfile

Gets an Azure Web App publishing profile.

Syntax

S1

Get-AzWebAppPublishingProfile
 [[-OutputFile] <String>]
 [[-Format] <String>]
 [-ResourceGroupName] <String>
 [-Name] <String>
 [-IncludeDisasterRecoveryEndpoints]
 [-DefaultProfile <IAzureContextContainer>]
 [<CommonParameters>]

S2

Get-AzWebAppPublishingProfile
 [[-OutputFile] <String>]
 [[-Format] <String>]
 [-WebApp] <PSSite>
 [-IncludeDisasterRecoveryEndpoints]
 [-DefaultProfile <IAzureContextContainer>]
 [<CommonParameters>]

Description

The Get-AzWebAppPublishingProfile cmdlet gets an Azure Web App publishing profile.

Examples

Example 1

Get-AzWebAppPublishingProfile -ResourceGroupName "Default-Web-WestUS" -Name "ContosoWebApp" -Format "Ftp" -OutputFile "C:\Users\contoso\outputfile.publishsettings"

This command gets the publishing profile in Ftp format for Web App ContosoWebApp associated with the resource group Default-Web-WestUS and stores it in the specified output file.

Parameters

-DefaultProfile

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

Parameter properties

Type:IAzureContextContainer
Default value:None
Supports wildcards:False
DontShow:False
Aliases:AzContext, AzureRmContext, AzureCredential

Parameter sets

-Format

Format

Parameter properties

Type:String
Default value:None
Accepted values:WebDeploy, FileZilla3, Ftp
Supports wildcards:False
DontShow:False

Parameter sets

-IncludeDisasterRecoveryEndpoints

Include the disaster recovery endpoints if true

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-Name

WebApp Name

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-OutputFile

Output File

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-ResourceGroupName

Resource Group Name

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-WebApp

WebApp Object

Parameter properties

Type:PSSite
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

String

PSSite

Outputs

String

Related Links


Feedback

Was this page helpful?