Logging an Azure Virtual Machine Scale Set Application Installation to Application Insights with PowerShell

Recently I was working on a project that was migrating an application from AWS to Azure, one of the outcomes of the project was to vastly simplify the setup when running on Azure so we settled on a running predominantly...