title: Get PublishProfile for an Azure WebApp using Powershell
body: <p>How can we get the PublishProfile for an Azure WebApp using Powershell? 
  I'm not looking for <code>Get-AzurePublishSettingsFile</code> cmdlet. That gives me the PublishSettings for the whole subscription. 
  I want the PublishSettings only for that particular Azure WebApp. </p>
  
  <p>We can get this file when we click the following link on Azure Portal.
  <a href="https://i.stack.imgur.com/arBM8.png" rel="noreferrer"><img src="https://i.stack.imgur.com/arBM8.png" alt="enter image description here"></a></p>
  
  <p>The content of the file is something like shown below.
  <a href="https://i.stack.imgur.com/z8Axp.png" rel="noreferrer"><img src="https://i.stack.imgur.com/z8Axp.png" alt="enter image description here"></a></p>
  
  <p>Can someone please help me get this?</p>
  
  <p>Thanks.</p>