< Back

Restore-AzureWebsiteDeployment

Wed Jan 30, 2019 5:52 pm

NAME Restore-AzureWebsiteDeployment



SYNOPSIS

Redeploy a previous deployment for an Azure website





SYNTAX

Restore-AzureWebsiteDeployment [[-CommitId] <String>] [-Force] [[-Name] <String>] [-WhatIf] [-Confirm] [-Slot <String>] [<CommonParameters>]





DESCRIPTION

Redeploy a previous deployment for an Azure website. This replaces the current deployment with the selected deployment.





PARAMETERS

-CommitId <String>

The identifier of the deployment to redeploy



Required? false

Position? 2

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-Force

Skip any confirmation prompts



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Name <String>

The name of the website to redeploy



Required? false

Position? 1

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-Slot <String>

The slot name



Required? false

Position? Named

Default value

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 (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS









OUTPUTS









NOTES







Keywords: azure, azuresm, servicemanagement, management, service, utilities





-------------- Redeploy --------------



C:\\PS>Restore-AzureWebsiteDeployment mySite -CommitId f876543210



Redeploy the deployment with id "f876543210" for the website named "mySite"











RELATED LINKS

Get-AzureWebsiteDeployment