I'm trying to get the hostnames of an Azure webapp/website and add it to a variable. So far I have
Get-AzureWebsite -Name $WebAppName1
This returns all information about the webapp/website. Not sure how to grab only the host name.
Any guidance would be appreciated.