< Back

Get-AzureRmWebAppSlotPublishingProfile

Tue Jan 29, 2019 10:12 pm

NAME Get-AzureRmWebAppSlotPublishingProfile



SYNOPSIS

Gets an Azure Web App slot publishing profile.





SYNTAX

Get-AzureRmWebAppSlotPublishingProfile [-ResourceGroupName] <String> [-Name] <String> [-Slot] <String> [[-OutputFile] <String>] [[-Format]

{WebDeploy | FileZilla3 | Ftp}] [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]



Get-AzureRmWebAppSlotPublishingProfile [-WebApp] <Site> [[-OutputFile] <String>] [[-Format] {WebDeploy | FileZilla3 | Ftp}] [-DefaultProfile

<IAzureContextContainer>] [<CommonParameters>]





DESCRIPTION

The Get-AzureRmWebAppSlotPublishingProfile cmdlet gets the Web App publishing profile for the specified slot.





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



-Format <String>

Format



Required? false

Position? 4

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



-OutputFile <String>

Output File



Required? false

Position? 3

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-ResourceGroupName <String>

Resource Group Name



Required? true

Position? 0

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Slot <String>

WebApp Slot Name



Required? true

Position? 2

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



PS C:\\> Get-AzureRmWebAppSlotPublishingProfile -ResourceGroupName "Default-Web-WestUS" -Name "ContosoWebApp" -Slot "slot001" -Format "Ftp"

-OutputFile "C:\\Users\\contoso\\outputfile"



This command gets the publishing profile in Ftp format for slot Slot001 pertaining to the Web App ContosoWebApp associated with the resource group

Default-Web-WestUS and stores it in the specified output file.







RELATED LINKS

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

Reset-AzureRmWebAppSlotPublishingProfile

Get-AzureRmWebAppSlot

Get-AzureRmWebApp