< Back

Get-AzureRmLoadBalancer

Tue Jan 29, 2019 9:54 pm

NAME Get-AzureRmLoadBalancer



SYNOPSIS

Gets a load balancer.





SYNTAX

Get-AzureRmLoadBalancer [-DefaultProfile <IAzureContextContainer>] -ExpandResource <String> -Name <String> -ResourceGroupName <String>

[<CommonParameters>]



Get-AzureRmLoadBalancer [-DefaultProfile <IAzureContextContainer>] [-Name <String>] [-ResourceGroupName <String>] [<CommonParameters>]





DESCRIPTION

The Get-AzureRmLoadBalancer cmdlet gets one or more Azure load balancers that are contained in a resource group.





PARAMETERS

-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-ExpandResource <String>





Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Name <String>





Required? false

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ResourceGroupName <String>





Required? false

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, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None

This cmdlet does not accept any input.





OUTPUTS

Microsoft.Azure.Commands.Network.Models.PSLoadBalancer







NOTES









Example 1: Get a load balancer



PS C:\\>Get-AzureRmLoadBalancer -Name "MyLoadBalancer" -ResourceGroupName "MyResourceGroup"



This command gets the load balancer named MyLoadBalancer. A load balancer must exist before you can run this cmdlet.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... adbalancer

New-AzureRmLoadBalancer

Remove-AzureRmLoadBalancer

Set-AzureRmLoadBalancer