Skip to content

Commit d2fa530

Browse files
authored
Fix wrong encoding in *-AzVirtualHubRoute*.md (#15935)
* Update Add-AzVirtualHubRoute.md * Fix wrong encoding
1 parent 684a236 commit d2fa530

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

src/Network/Network/help/Add-AzVirtualHubRoute.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Creates a VirtualHubRoute object.
2424

2525
### Example 1
2626
```powershell
27-
PS C:\> Add-AzVirtualHubRoute-DestinationType"CIDR"-Destination@("10.4.0.0/16","10.5.0.0/16")-NextHopType"IPAddress"-NextHop@("10.0.0.68")
27+
PS C:\> Add-AzVirtualHubRoute -DestinationType "CIDR" -Destination @("10.4.0.0/16", "10.5.0.0/16") -NextHopType "IPAddress" -NextHop @("10.0.0.68")
2828
2929
AddressPrefixes : {10.4.0.0/16, 10.5.0.0/16}
3030
NextHopIpAddress : 10.0.0.68

src/Network/Network/help/Add-AzVirtualHubRouteTable.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ Add-AzVirtualHubRouteTable -Name <String> -Route <PSVirtualHubRoute[]> -Connecti
1818
```
1919

2020
## DESCRIPTION
21-
The virtual hub route table resource contains the list of routes and a list of connections to which it can
21+
The virtual hub route table resource contains the list of routes and a list of connections to which it can
2222
be attached to and is used to route traffic in a Virtual Hub.
2323

2424
## EXAMPLES
2525

2626
### Example 1
2727
```powershell
28-
PS C:\> $route1�=�Add-AzVirtualHubRoute-DestinationType"CIDR"-Destination@("10.4.0.0/16","10.5.0.0/16")-NextHopType"IPAddress"-NextHop@("10.0.0.68")
29-
PS C:\> Add-AzVirtualHubRouteTable-Route@($route1)-Connection@("All_Vnets")-Name"routeTable1"
28+
PS C:\> $route1 = Add-AzVirtualHubRoute -DestinationType "CIDR" -Destination @("10.4.0.0/16", "10.5.0.0/16") -NextHopType "IPAddress" -NextHop @("10.0.0.68")
29+
PS C:\> Add-AzVirtualHubRouteTable -Route @($route1) -Connection @("All_Vnets") -Name "routeTable1"
3030
3131
Name : routeTable1
3232
Id :
@@ -35,7 +35,7 @@ Connections : {All_Vnets}
3535
ProvisioningState :
3636
```
3737

38-
The above command will create a Virtual Hub Route Table resource from the routes passed to it and this object can be used for routing traffic in a Virtual Hub.
38+
The above command will create a Virtual Hub Route Table resource from the routes passed to it and this object can be used for routing traffic in a Virtual Hub.
3939

4040
## PARAMETERS
4141

src/Network/Network/help/Get-AzVirtualHubRouteTable.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Gets a Virtual Hub Route Table in a virtual hub or lists all route tables in a v
3737

3838
### Example 1
3939
```powershell
40-
PS C:\> Get-AzVirtualHubRouteTable-ResourceGroupName"testRg"-HubName"westushub"-Name"routeTable1"
40+
PS C:\> Get-AzVirtualHubRouteTable -ResourceGroupName "testRg" -HubName "westushub" -Name "routeTable1"
4141
4242
Name : routeTable1
4343
Id : /subscriptions/{subscriptionId}/resourceGroups/testRg/providers/Microsoft.Network/virtualHubs/westushub/routeTables/routeTable1
@@ -50,7 +50,7 @@ This cmdlet retrieves a route table resource using resource group name, hub name
5050

5151
### Example 2
5252
```powershell
53-
PS C:\> Get-AzVirtualHubRouteTable-ResourceGroupName"testRg"-HubName"westushub"
53+
PS C:\> Get-AzVirtualHubRouteTable -ResourceGroupName "testRg" -HubName "westushub"
5454
5555
Name : routeTable1
5656
Id : /subscriptions/{subscriptionId}/resourceGroups/testRg/providers/Microsoft.Network/virtualHubs/westushub/routeTables/routeTable1

src/Network/Network/help/Remove-AzVirtualHubRouteTable.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Deletes the specified route table that is associated with the specified virtual
4343

4444
### Example 1
4545
```powershell
46-
PS C:\> Remove-AzVirtualHubRouteTable-ResourceGroupName"testRg"-HubName"westushub"-Name"routeTable1"
46+
PS C:\> Remove-AzVirtualHubRouteTable -ResourceGroupName "testRg" -HubName "westushub" -Name "routeTable1"
4747
```
4848

4949
This command deletes the routeTable1 of the virtual hub westushub.

0 commit comments

Comments
 (0)