Share via


Remove-AzureLoadBalancer

Remove-AzureLoadBalancer

Removes a load balancer.

Syntax

Parameter Set: Default
Remove-AzureLoadBalancer -Name <String> -ResourceGroupName <String> [-Force] [-PassThru] [-Profile <AzureProfile> ] [ <CommonParameters>]

Detailed Description

The Remove-AzureLoadBalancer cmdlet removes an Azure load balancer.

Parameters

-Force

Indicates that this cmdlet removes the load balancer regardless of whether resources are assigned to it.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true(ByPropertyName)

Accept Wildcard Characters?

false

-Name<String>

Specifies the name of the load balancer to remove.

Aliases

ResourceName

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

true(ByPropertyName)

Accept Wildcard Characters?

false

-PassThru

Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Profile<AzureProfile>

Specifies an Azure profile.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ResourceGroupName<String>

Specifies the name of the resource group that contains the load balancer to remove.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

true(ByPropertyName)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Get-AzureLoadBalancer

New-AzureLoadBalancer

Set-AzureLoadBalancer