Move this script into azure-sdk-tools-samples/tree/dev/services/sql-databases folder as this is a building block script for the overall solution.

Also, copy this function to the top of the Create-AzureEnterpriseSite.ps1.