Skip to content

Commit 4eca069

Browse files
authored
Merge pull request Azure#4515 from sdwheeler/sdw-issue4514
Fixed typos in example for Set-AzureRmApplicationGatewayFrontendPort
2 parents d0ea9ae + 9ed459b commit 4eca069

File tree

1 file changed

+18
-13
lines changed

1 file changed

+18
-13
lines changed

src/ResourceManager/Network/Commands.Network/help/Set-AzureRmApplicationGatewayFrontendPort.md

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,53 @@
11
---
22
external help file: Microsoft.Azure.Commands.Network.dll-Help.xml
33
ms.assetid: 85C0A1C3-FC6D-496A-B6B5-8DC2A73B8032
4-
online version:
4+
online version:
55
schema: 2.0.0
66
---
77

88
# Set-AzureRmApplicationGatewayFrontendPort
99

1010
## SYNOPSIS
11+
1112
Modifies a front-end port for an application gateway.
1213

1314
## SYNTAX
1415

15-
```
16+
```powershell
1617
Set-AzureRmApplicationGatewayFrontendPort -ApplicationGateway <PSApplicationGateway> -Name <String>
1718
-Port <Int32> [<CommonParameters>]
1819
```
1920

2021
## DESCRIPTION
21-
The **Set-AzureRmApplicationGatewayFrontendPort** cmdlet modifies a front-end port for an application gateway.
22+
23+
The **Set-AzureRmApplicationGatewayFrontendPort** cmdlet modifies a front-end port for an
24+
application gateway.
2225

2326
## EXAMPLES
2427

2528
### Example 1: Set an application gateway front-end port to 80
26-
```
27-
PS C:\>$AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01"
28-
C:\> $ AppGw = Set-AzureRmApplicationGatewayFrontendPort -ApplicationGateway $AppGw -Name -FrontEndPort01? -Port 80
29+
30+
```powershell
31+
PS C:\> $AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01"
32+
PS C:\> $AppGw = Set-AzureRmApplicationGatewayFrontendPort -ApplicationGateway $AppGw -Name "FrontEndPort01" -Port 80
2933
```
3034

31-
The first command gets the application gateway named ApplicationGateway01 that belongs to the resource group named ResourceGroup01 and stores it in the $AppGw variable.
35+
The first command gets the application gateway named ApplicationGateway01 that belongs to the
36+
resource group named ResourceGroup01 and stores it in the $AppGw variable.
3237

33-
The second command modifies the gateway in $AppGw to use port 80 for the front-end port named FrontEndPort01.
38+
The second command modifies the gateway in $AppGw to use port 80 for the front-end port named
39+
FrontEndPort01.
3440

3541
## PARAMETERS
3642

3743
### -ApplicationGateway
44+
3845
Specifies the application gateway object with which this cmdlet associates the front-end port.
3946

4047
```yaml
4148
Type: PSApplicationGateway
4249
Parameter Sets: (All)
43-
Aliases:
50+
Aliases:
4451

4552
Required: True
4653
Position: Named
@@ -55,7 +62,7 @@ Specifies the name of the front-end port to modify.
5562
```yaml
5663
Type: String
5764
Parameter Sets: (All)
58-
Aliases:
65+
Aliases:
5966

6067
Required: True
6168
Position: Named
@@ -70,7 +77,7 @@ Specifies the port number to use for the front-end port.
7077
```yaml
7178
Type: Int32
7279
Parameter Sets: (All)
73-
Aliases:
80+
Aliases:
7481

7582
Required: True
7683
Position: Named
@@ -103,5 +110,3 @@ Parameter 'ApplicationGateway' accepts value of type 'PSApplicationGateway' from
103110
[New-AzureRmApplicationGatewayFrontendPort](./New-AzureRmApplicationGatewayFrontendPort.md)
104111
105112
[Remove-AzureRmApplicationGatewayFrontendPort](./Remove-AzureRmApplicationGatewayFrontendPort.md)
106-
107-

0 commit comments

Comments
 (0)