Load Balancer Template with multiple Health probes and Load Balancing rules

This template allows you to create an internal load balancer with multiple Health probes and Load balancing rules. Same logic can be applied to Inbound NAT rules if you wish to create them as well in Load Balancer. To read more about Azure Load Balancer, refer this article Below is a snapshot from JSON Outline…

1

Delete Empty Load Balancers with No Virtual Machines

Hi All, Below script will help you to find and delete empty load balancers with no virtual machines from Azure environment.   Find Empty Load Balancers You can find an empty load balancer by checking its BackEndIPConfigurations. Example:- $myLoadBalancer = Get-AzureRmLoadBalancer -ResourceGroupName ‘MyTempResourceGroup’ -Name ‘MyTempLoadBalancer’ if($myLoadBalancer.BackendAddressPools.Backendipconfigurations -eq $null) {     Write-Host “Load Balancer is empty”…

0

Run PowerShell using Local System Account

You will very frequently come into a scenario where you will need to run some commands using local system account. In my case, I was working on a windows service running using local system account. The windows service internally was calling PowerShell scripts. I developed PowerShell scripts independently and they were absolutely working fine(running using…

2