Skip to content

Commit 05a3577

Browse files
committed
Correcting powershell
1 parent e74fbcd commit 05a3577

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Websites/Websites/help/Restore-AzDeletedWebApp.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ Restores the Staging slot of a deleted app named ContosoApp belonging to the res
5151
```powershell
5252
PS C:\> $deletedSite = Get-AzDeletedWebApp -ResourceGroupName Default-Web-WestUS -Name ContosoApp
5353
PS C:\> Restore-AzDeletedWebApp -TargetResourceGroupName Default-Web-EastUS -TargetName ContosoRestore -TargetAppServicePlanName ContosoPlan -InputObject $deletedSite[0]
54+
```
5455

5556
In case there are 2 deleted apps with same name(ContosoApp), then we get details of both the sites and restore the app named ContosoRestore with the app of our choice by calling restore with InputObject(Deletedsite) details
5657

0 commit comments

Comments
 (0)