Premier Developer Consultant Tim Omta shares a PowerShell script he used to add the OMS client to an Azure VM ScaleSet.
I was asked by a customer to add the OMS client to an Azure VM ScaleSet (VMSS). This is not documented directly for a VMSS, though it is for Azure VMs. After some asking around and some experimentation, I was able to successfully deploy the OMS agent to the VMSS using PowerShell.
Read further details regarding the PowerShell script Tim used on his post here.