New-AzureSqlDatabaseServer
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
New-AzureSqlDatabaseServer
Creates a new Windows Azure SQL Database Server in the current subscription.
Syntax
Parameter Set: Default
New-AzureSqlDatabaseServer [-AdministratorLogin] <String> -AdministratorLoginPassword <String> -Location <String> [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]
Detailed Description
The New-AzureSqlDatabaseServer cmdlet creates a new SQL Database Server in the current subscription.
Parameters
-AdministratorLogin<String>
Administrator account name for your new SQL Database Server.
Aliases |
none |
Required? |
true |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-AdministratorLoginPassword<String>
Administrator account password for your new SQL Database Server. You must specify a strong password. For more information, see Strong Passwords (https://go.microsoft.com/fwlink/p/?LinkId=154152).
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-Force
Allows the action to complete without prompting you for confirmation.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-Location<String>
Region or location where the new SQL Database Server is created. The location determines which datacenter the database will reside in.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-Confirm
Prompts you for confirmation before executing the command.
Required? |
false |
Position? |
named |
Default Value |
|
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-WhatIf
Describes what would happen if you executed the command without actually executing the command.
Required? |
false |
Position? |
named |
Default Value |
|
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
- Microsoft.WindowsAzure.Management.SqlDatabase.Model.SqlDatabaseServerContext
Examples
--------------Example 1--------------
This command creates a SQL Database Server.
PS C:\> New-AzureSqlDatabaseServer -Location "East US" -AdministratorLogin "myLogin" -AdministratorLoginPassword "myP@ssword"