Enable ServiceMaps for Azure VM´s

Azure ServiceMap is a great extension to LogAnalytics, measuring Processes, Connectivity and Performance for Windows and Linux Computers onPrem and in the Cloud. This script (from https://blogs.technet.microsoft.com/msoms/2017/08/29/azure-vm-extension-for-dependency-agent/ ) enables the ServiceMap extension to all VM´s in a defined ResourceGroup.

I just tested this again and it still works fine.

Hope that helps.