From the course: Azure Administration: Load Balancers and Application Gateways

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

Configure a load balancer using PowerShell

Configure a load balancer using PowerShell - Azure Tutorial

From the course: Azure Administration: Load Balancers and Application Gateways

Start my 1-month free trial

Configure a load balancer using PowerShell

- [Instructor] In the last video, we created PS-LoadBalancer using PowerShell. Now, we will see how we can configure the load balancer with PowerShell. We can see that I have opened the Azure Cloud Shell in a different tab, and I will open the editor and add some of the commandlets that I will use in this video. This first commandlet, adds the reference of the load balancer into the variable: $LoadBalancer. So, now I can reference it within other commandlets. And, I will do the same with $Backend, by adding the reference to the backend address pull config. Great, now that I have those variables set up, I can perform configurations, like for example, create an inbound NAT rule config. If we go into the portal, we can see, that there are no NAT rules created in this load balancer. So, I will execute this commandlet to create a new one. We can see that I'm executing Add-AzLoadBalancerInboundNATRuleConfig to create…

Contents