Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Remove-AzureRoute

Remove-AzureRoute

microsoft.windowsazure.commands.servicemanagement.network.dll

Synopsis

Removes the route from the route table

Syntax

Remove-AzureRoute [-RouteTable] [-RouteName] [-Force] [-PipelineVariable] [-Profile] [<CommonParameters>]

Detailed Description

Parameters

-Force <SwitchParameter>

Use the 'Force' option to skip the confirmation

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-PipelineVariable <string>

Not Specified

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-Profile <AzureProfile>

Not Specified

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-RouteName <string>

Name of the route that is to be removed

Aliases

None

Required?

true

Position

2

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-RouteTable <IRouteTable>

The route table from which the route should be removed

Aliases

None

Required?

true

Position

1

Default value

None

Accept pipeline input?

true (ByValue, ByPropertyName)

Accept wildcard characters?

false

Input Type


Return Type


Notes

Examples

-------------------------- EXAMPLE 1 --------------------------

C:\PS>

Description

-----------

Route with name 'internetRoute' removed from route table

          Get-AzureRouteTable -Name AppRT | Remove-AzureRoute -RouteName internetRoute

          Confirm
          Are you sure you want to remove the Route "internetRoute" from Route Table "AppRT"?
          [Y] Yes  [N] No  [S] Suspend  [?] Help (default is "Y"): Y

          Routes                        Name                          Location                      Label
          ------                        ----                          --------                      -----
          {approute}                    AppRT                         West US                       Appliance Route Table