Skip to content

Commit a22b1b6

Browse files
authored
(AzureCXP) Details of -Force parameter (#17027)
If -Force is not specified it will prompt for the confirmation before the contents will be deployed.
1 parent 7e3db9a commit a22b1b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Websites/Websites/help/Publish-AzWebApp.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,15 @@ PS C:\> $app = Get-AzWebApp -ResourceGroupName ContosoRG -Name ContosoApp
6262
PS C:\> Publish-AzWebApp -WebApp $app -ArchivePath C:\project\app.zip -Force
6363
```
6464

65-
Uploads the contents of java_app.jar to the web app named ContosoApp belonging to the resource group ContosoRG.
65+
Uploads the contents of java_app.jar to the web app named ContosoApp belonging to the resource group ContosoRG. If -Force is not specified it will prompt for the confirmation before the contents will be deployed.
6666

6767
### Example 6
6868
```powershell
6969
PS C:\> $app = Get-AzWebApp -ResourceGroupName ContosoRG -Name ContosoApp
7070
PS C:\> Publish-AzWebApp -WebApp $app -ArchivePath C:\project\app.zip -Timeout 300000 -Force
7171
```
7272

73-
Uploads the contents of java_app.jar to the web app named ContosoApp belonging to the resource group ContosoRG. User can Sets the timespan in Milliseconds to wait before the request times out.
73+
Uploads the contents of java_app.jar to the web app named ContosoApp belonging to the resource group ContosoRG. User can Sets the timespan in Milliseconds to wait before the request times out. If -Force is not specified it will prompt for the confirmation before the contents will be deployed.
7474

7575
## PARAMETERS
7676

0 commit comments

Comments
 (0)