Powershell Script to Retrieve Computer Names for Azure App Services
David Ruckman, Senior Consultant
I love Live Metrics in Azure Application Insights. It's great to have a list of servers and be able to see CPU and memory usage (among other stats) in real-time. Great! But what are those server names? How do I match them up to running instances in my app services?
I could not find the "server name" for an app service anywhere. I tried poking around in Resource Explorer to no avail.
It turns out the computer name is an environment variable for the instances in the app service, so it was time to use Powershell to iterate through all my app services and instances and list the computer names.
You can read the full article by clicking here.