Before creating an azure website we have to determine the location you want to create the site and unique name for the site we can use the following cmdlet to get the locations.
<br /> Get-AzureWebsiteLocation<br />
To determine the unique website name we can use the following cmdlet. It returns true or false if it returns true that website name already existed in azure,if it returns false we can use it.
<br /> Test-AzureName -Website "geekgost"<br />
To create a website we can use New-AzureWebsite cmdlet.
<br /> $location = "Southeast Asia"<br /> $name = "geekgost"<br /> New-AzureWebsite -Location $location -Name $name -Verbose<br />
As you see when we create site using powershell it creates a blank site we can use visual studio,web metrix or FTP method to upload the developed site.
See you in next post 🙂