Skip to content

Fix wrong encoding in *-AzVirtualHubRoute*.md #15935

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 23, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Network/Network/help/Add-AzVirtualHubRoute.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Creates a VirtualHubRoute object.

### Example 1
```powershell
PS C:\> Add-AzVirtualHubRoute-DestinationType"CIDR"-Destination@("10.4.0.0/16","10.5.0.0/16")-NextHopType"IPAddress"-NextHop@("10.0.0.68")
PS C:\> Add-AzVirtualHubRoute -DestinationType "CIDR" -Destination @("10.4.0.0/16", "10.5.0.0/16") -NextHopType "IPAddress" -NextHop @("10.0.0.68")

AddressPrefixes : {10.4.0.0/16, 10.5.0.0/16}
NextHopIpAddress : 10.0.0.68
Expand Down
8 changes: 4 additions & 4 deletions src/Network/Network/help/Add-AzVirtualHubRouteTable.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ Add-AzVirtualHubRouteTable -Name <String> -Route <PSVirtualHubRoute[]> -Connecti
```

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

## EXAMPLES

### Example 1
```powershell
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")
PS C:\> Add-AzVirtualHubRouteTable-Route@($route1)-Connection@("All_Vnets")-Name"routeTable1"
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")
PS C:\> Add-AzVirtualHubRouteTable -Route @($route1) -Connection @("All_Vnets") -Name "routeTable1"

Name : routeTable1
Id :
Expand All @@ -35,7 +35,7 @@ Connections : {All_Vnets}
ProvisioningState :
```

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.
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.

## PARAMETERS

Expand Down
4 changes: 2 additions & 2 deletions src/Network/Network/help/Get-AzVirtualHubRouteTable.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Gets a Virtual Hub Route Table in a virtual hub or lists all route tables in a v

### Example 1
```powershell
PS C:\> Get-AzVirtualHubRouteTable-ResourceGroupName"testRg"-HubName"westushub"-Name"routeTable1"
PS C:\> Get-AzVirtualHubRouteTable -ResourceGroupName "testRg" -HubName "westushub" -Name "routeTable1"

Name : routeTable1
Id : /subscriptions/{subscriptionId}/resourceGroups/testRg/providers/Microsoft.Network/virtualHubs/westushub/routeTables/routeTable1
Expand All @@ -50,7 +50,7 @@ This cmdlet retrieves a route table resource using resource group name, hub name

### Example 2
```powershell
PS C:\> Get-AzVirtualHubRouteTable-ResourceGroupName"testRg"-HubName"westushub"
PS C:\> Get-AzVirtualHubRouteTable -ResourceGroupName "testRg" -HubName "westushub"

Name : routeTable1
Id : /subscriptions/{subscriptionId}/resourceGroups/testRg/providers/Microsoft.Network/virtualHubs/westushub/routeTables/routeTable1
Expand Down
2 changes: 1 addition & 1 deletion src/Network/Network/help/Remove-AzVirtualHubRouteTable.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Deletes the specified route table that is associated with the specified virtual

### Example 1
```powershell
PS C:\> Remove-AzVirtualHubRouteTable-ResourceGroupName"testRg"-HubName"westushub"-Name"routeTable1"
PS C:\> Remove-AzVirtualHubRouteTable -ResourceGroupName "testRg" -HubName "westushub" -Name "routeTable1"
```

This command deletes the routeTable1 of the virtual hub westushub.
Expand Down