1

I looked on the web and I found only trival examples of usage New-AzureWebsite like:

    New-AzureWebsite -Name appName -Location yourLocation 

However this commands creates a website in a new resource group and with new service plan. How to create a website within a existing resource group with existing service plan?

eye
  • 304
  • 6
  • 22

1 Answers1

4

You can use the new AzureRM Powershell v.1.0.1 and use the following command

New-AzureRMWebApp -ResourceGroupName <RGName> -AppServicePlan <AppServPlan> -Name <SiteName>
Ahmed Elnably
  • 461
  • 3
  • 5