title: List instances of Azure App Service with Powershell RM
body: <p>My aim is to find all the instance Ids of a particular App Service in Azure so I can write a warm-up routine and test it against all running instances (ARRAfinity).</p>
  
  <p>I can do the following with ASM Powershell but I need it in ARM (RM) as Octopus is configured for it.</p>
  
  <pre><code>(Get-AzureWebsite -Name "site-name" -Slot "Production").Instances
  </code></pre>
  
  <p>I have found the documentation around RM sparing, and the following hasn't led me to anything helpful:</p>
  
  <pre><code>Get-AzureRmWebApp -Name "site-name"
  </code></pre>
  
  <p>Any help would be really helpful.</p>