Direct Access Load Balancer Health Check

By using the code from https://github.com/takeshixx/ip-https-tools/blob/master/ip-https-discover.nse as a base. The following health check for a load Balancer will determine if Direct Access is availability and accepting new connections

Our our F5, we have a HTTP Monitor that is sending the string

GET / HTTP/1.1\r\nHOST: <DADNSNAME>\r\nContent-Length: 18446744073709551615\r\nConnection: Close\r\n\r\n

Replace <DADNSNAME> with the FQDN of your DA implementation

The receive string is

HTTP/1.1 * (200)

Powershell cmdlet’s from OpenAPI

I am building PS Cmdlet’s from an OpenAPI specifications. Here are pre-reqs.

apt update
wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb
dpkg -i packages-microsoft-prod.deb
rm packages-microsoft-prod.deb
curl -sL https://deb.nodesource.com/setup_10.x | sudo bash
apt -y install curl dirmngr apt-transport-https lsb-release ca-certificates gcc g++ make nodejs powershell dotnet-sdk-3.1
npm install -g autorest@beta