O'Reilly logo

AWS Tools for PowerShell 6 by Ramesh Waghmare

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating Application Load Balancer

To find all the related cmdlets for working with Application Load Balancer, you can use the following command:

PS C:\> Get-Command *ELB* |Where-Object {$_.Name -Like "*ELB2*"}

This will list all the cmdlets for Application Load Balancer. Note that if you run the preceding cmdlet without a filter, you will notice that there are cmdlets without ELB2 in them. Any cmdlet without ELB2 in it is meant for Classic Load Balancer.

To get a list of existing Application Load Balancers, run the following command:

PS C:\> Get-ELB2LoadBalancer

To obtain the Application Load Balancer limits on the account, you can use the following cmdlet. If the limit needs to be lifted, you have to contact AWS:

PS C:\> Get-ELB2AccountLimit ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required