Modules/Azure/Microsoft.WindowsAzure.Management.SqlDatabase.dll-Help.xml (2,916 lines of code) (raw):
<?xml version="1.0" encoding="utf-8" ?>
<helpItems xmlns="http://msh" schema="maml">
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<command:details>
<command:name>Get-AzureSqlDatabase</command:name>
<maml:description>
<maml:para>Returns a SQL database by name from the specified SQL Server.</maml:para>
</maml:description>
<maml:copyright>
<maml:para />
</maml:copyright>
<command:verb>Get</command:verb>
<command:noun>AzureSqlDatabase</command:noun>
<dev:version />
</command:details>
<maml:description>
<maml:para>
If the database name is not specified, then the cmdlet returns all SQL databases for the SQL Server.
</maml:para>
</maml:description>
<command:syntax>
<command:syntaxItem>
<maml:name>Get-AzureSqlDatabase</maml:name>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue, ByPropertyName)" position="1" aliases="">
<maml:name>Context</maml:name>
<maml:description>
<maml:para>
The connection context to the specified Windows Azure SQL Database Server.
</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="">
<maml:name>DatabaseName</maml:name>
<maml:description>
<maml:para>
The name of the database to be retrieved.
</maml:para>
</maml:description>
</command:parameter>
</command:syntaxItem>
<command:syntaxItem>
<maml:name>Get-AzureSqlDatabase</maml:name>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue, ByPropertyName)" position="1" aliases="">
<maml:name>Context</maml:name>
<maml:description>
<maml:para>
The connection context to the specified Windows Azure SQL Database Server.
</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="2" aliases="">
<maml:name>Database</maml:name>
<maml:description>
<maml:para>
A database object representing the database to be retrieved.
</maml:para>
</maml:description>
</command:parameter>
</command:syntaxItem>
</command:syntax>
<command:parameters>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue, ByPropertyName)" position="1" aliases="">
<maml:name>Context</maml:name>
<maml:description>
<maml:para>
The connection context to the specified Windows Azure SQL Database Server.
</maml:para>
</maml:description>
<command:parameterValue required="true" variableLength="false">IServerDataServiceContext</command:parameterValue>
<dev:type>
<maml:name>IServerDataServiceContext</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue></dev:defaultValue>
</command:parameter>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="2" aliases="">
<maml:name>Database</maml:name>
<maml:description>
<maml:para>
A database object representing the database to be retrieved.
</maml:para>
</maml:description>
<command:parameterValue required="true" variableLength="false">Database</command:parameterValue>
<dev:type>
<maml:name>Database</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue></dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="">
<maml:name>DatabaseName</maml:name>
<maml:description>
<maml:para>
The name of the database to be retrieved.
</maml:para>
</maml:description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type>
<maml:name>String</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue></dev:defaultValue>
</command:parameter>
</command:parameters>
<command:inputTypes>
<command:inputType>
<dev:type>
<maml:name></maml:name>
<maml:uri></maml:uri>
<maml:description>
<maml:para />
</maml:description>
</dev:type>
<maml:description></maml:description>
</command:inputType>
</command:inputTypes>
<command:returnValues>
<command:returnValue>
<dev:type>
<maml:name>Microsoft.SqlServer.Management.Client.DataServices.Server.Database</maml:name>
<maml:uri></maml:uri>
<maml:description>
<maml:para />
</maml:description>
</dev:type>
<maml:description></maml:description>
</command:returnValue>
</command:returnValues>
<command:terminatingErrors />
<command:nonTerminatingErrors />
<command:examples>
<command:example>
<maml:title>
-------------------------- EXAMPLE 1 --------------------------
</maml:title>
<maml:introduction>
<maml:para></maml:para>
</maml:introduction>
<dev:code>
C:\PS>$database1 = Get-AzureSqlDatabase $ctx -DatabaseName "Database1"
</dev:code>
<dev:remarks>
<maml:para>
This example returns the database, "Database1", from the Windows Azure SQL Database Server specified by the connection $ctx.
</maml:para>
</dev:remarks>
<command:commandLines>
<command:commandLine>
<command:commandText />
</command:commandLine>
</command:commandLines>
</command:example>
</command:examples>
<maml:relatedLinks>
<maml:navigationLink>
<maml:linkText>New-AzureSqlDatabase</maml:linkText>
<maml:uri />
</maml:navigationLink>
<maml:navigationLink>
<maml:linkText>Remove-AzureSqlDatabase</maml:linkText>
<maml:uri />
</maml:navigationLink>
<maml:navigationLink>
<maml:linkText>Set-AzureSqlDatabase</maml:linkText>
<maml:uri />
</maml:navigationLink>
</maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<command:details>
<command:name>Get-AzureSqlDatabaseServer</command:name>
<maml:description>
<maml:para>Returns information about the SQL Database servers in the current subscription.</maml:para>
</maml:description>
<maml:copyright>
<maml:para />
</maml:copyright>
<command:verb>Get</command:verb>
<command:noun>AzureSqlDatabaseServer</command:noun>
<dev:version />
</command:details>
<maml:description>
<maml:para>
The Get-AzureSqlDatabaseServer cmdlet retrieves information about SQL Database servers in the current subscription. If a SQL Database server name is specified in the ServerName parameter, it returns an object with information about the specific SQL Database server. Else, it returns information about all the SQL Database servers.
</maml:para>
</maml:description>
<command:syntax>
<command:syntaxItem>
<maml:name>Get-AzureSqlDatabaseServer</maml:name>
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases="">
<maml:name>ServerName</maml:name>
<maml:description>
<maml:para>
The name of the SQL Database server for which you want to retrieve information. Specify only the server name, and not the fully qualified DNS name. If not specified, information about all the SQL Database servers in the current subscription is returned.
</maml:para>
</maml:description>
</command:parameter>
</command:syntaxItem>
</command:syntax>
<command:parameters>
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases="">
<maml:name>ServerName</maml:name>
<maml:description>
<maml:para>
The name of the SQL Database server for which you want to retrieve information. Specify only the server name, and not the fully qualified DNS name. If not specified, information about all the SQL Database servers in the current subscription is returned.
</maml:para>
</maml:description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type>
<maml:name>String</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue></dev:defaultValue>
</command:parameter>
</command:parameters>
<command:inputTypes>
<command:inputType>
<dev:type>
<maml:name></maml:name>
<maml:uri></maml:uri>
<maml:description>
<maml:para />
</maml:description>
</dev:type>
<maml:description></maml:description>
</command:inputType>
</command:inputTypes>
<command:returnValues>
<command:returnValue>
<dev:type>
<maml:name>IEnumerable<SqlDatabaseServerContext></maml:name>
<maml:uri></maml:uri>
<maml:description>
<maml:para />
</maml:description>
</dev:type>
<maml:description></maml:description>
</command:returnValue>
</command:returnValues>
<command:terminatingErrors />
<command:nonTerminatingErrors />
<command:examples>
<command:example>
<maml:title>-------------- Example 1 --------------</maml:title>
<maml:introduction>
<maml:para></maml:para>
</maml:introduction>
<dev:code>
PS C:\> Get-AzureSqlDatabaseServer
</dev:code>
<dev:remarks>
<maml:para>
This command returns information about all of the SQL Database servers in the current subscription.
</maml:para>
</dev:remarks>
<command:commandLines>
<command:commandLine>
<command:commandText />
</command:commandLine>
</command:commandLines>
</command:example>
<command:example>
<maml:title>-------------- Example 2 --------------</maml:title>
<maml:introduction>
<maml:para></maml:para>
</maml:introduction>
<dev:code>
PS C:\> Get-AzureSqlDatabaseServer –ServerName "lpqd0zbr8y"
</dev:code>
<dev:remarks>
<maml:para>
This command returns information about the “lpqd0zbr8y” server.
</maml:para>
</dev:remarks>
<command:commandLines>
<command:commandLine>
<command:commandText />
</command:commandLine>
</command:commandLines>
</command:example>
</command:examples>
<maml:relatedLinks>
<maml:navigationLink>
<maml:linkText>New-AzureSqlDatabaseServer</maml:linkText>
<maml:uri />
</maml:navigationLink>
<maml:navigationLink>
<maml:linkText>Remove-AzureSqlDatabaseServer</maml:linkText>
<maml:uri />
</maml:navigationLink>
<maml:navigationLink>
<maml:linkText>Set-AzureSqlDatabaseServer</maml:linkText>
<maml:uri />
</maml:navigationLink>
</maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<command:details>
<command:name>Get-AzureSqlDatabaseServerFirewallRule</command:name>
<maml:description>
<maml:para>Returns firewall rules in the specified SQL Database server in the current subscription.</maml:para>
</maml:description>
<maml:copyright>
<maml:para />
</maml:copyright>
<command:verb>Get</command:verb>
<command:noun>AzureSqlDatabaseServerFirewallRule</command:noun>
<dev:version />
</command:details>
<maml:description>
<maml:para>
The Get-AzureSqlDatabaseServerFirewallRule cmdlet retrieves firewall rules from the specified SQL Database server in the current subscription. If a firewall rule name is specified in the RuleName parameter, it returns information about the specific firewall rule. Else, information about all the firewall rules in the specified SQL Database server is listed.
</maml:para>
</maml:description>
<command:syntax>
<command:syntaxItem>
<maml:name>Get-AzureSqlDatabaseServerFirewallRule</maml:name>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases="">
<maml:name>ServerName</maml:name>
<maml:description>
<maml:para>
The name of the SQL Database server for which you want to retrieve the firewall rules. Specify only the server name, and not the fully qualified DNS name.
</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="">
<maml:name>RuleName</maml:name>
<maml:description>
<maml:para>
The name of the firewall rule to retrieve. If not specified, information about all the firewall rules in the specified SQL Database server is listed.
</maml:para>
</maml:description>
</command:parameter>
</command:syntaxItem>
</command:syntax>
<command:parameters>
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="">
<maml:name>RuleName</maml:name>
<maml:description>
<maml:para>
The name of the firewall rule to retrieve. If not specified, information about all the firewall rules in the specified SQL Database server is listed.
</maml:para>
</maml:description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type>
<maml:name>String</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue></dev:defaultValue>
</command:parameter>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases="">
<maml:name>ServerName</maml:name>
<maml:description>
<maml:para>
The name of the SQL Database server for which you want to retrieve the firewall rules. Specify only the server name, and not the fully qualified DNS name.
</maml:para>
</maml:description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type>
<maml:name>String</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue></dev:defaultValue>
</command:parameter>
</command:parameters>
<command:inputTypes>
<command:inputType>
<dev:type>
<maml:name></maml:name>
<maml:uri></maml:uri>
<maml:description>
<maml:para />
</maml:description>
</dev:type>
<maml:description></maml:description>
</command:inputType>
</command:inputTypes>
<command:returnValues>
<command:returnValue>
<dev:type>
<maml:name>IEnumerable<SqlDatabaseFirewallRuleContext></maml:name>
<maml:uri></maml:uri>
<maml:description>
<maml:para />
</maml:description>
</dev:type>
<maml:description></maml:description>
</command:returnValue>
</command:returnValues>
<command:terminatingErrors />
<command:nonTerminatingErrors />
<command:examples>
<command:example>
<maml:title>-------------- Example 1 --------------</maml:title>
<maml:introduction>
<maml:para></maml:para>
</maml:introduction>
<dev:code>
PS C:\> Get-AzureSqlDatabaseServerFirewallRule –ServerName "lpqd0zbr8y"
</dev:code>
<dev:remarks>
<maml:para>
This command returns all the firewall rules in the specified SQL Database server (“lpqd0zbr8y”).
</maml:para>
</dev:remarks>
<command:commandLines>
<command:commandLine>
<command:commandText />
</command:commandLine>
</command:commandLines>
</command:example>
<command:example>
<maml:title>-------------- Example 2 --------------</maml:title>
<maml:introduction>
<maml:para></maml:para>
</maml:introduction>
<dev:code>
PS C:\> Get-AzureSqlDatabaseServerFirewallRule –ServerName "lpqd0zbr8y" -RuleName "myRule"
</dev:code>
<dev:remarks>
<maml:para>
This command returns the specified firewall rule (“myRule”) in the specified SQL Database server (“lpqd0zbr8y”).
</maml:para>
</dev:remarks>
<command:commandLines>
<command:commandLine>
<command:commandText />
</command:commandLine>
</command:commandLines>
</command:example>
</command:examples>
<maml:relatedLinks>
<maml:navigationLink>
<maml:linkText>New-AzureSqlDatabaseServerFirewallRule</maml:linkText>
<maml:uri />
</maml:navigationLink>
<maml:navigationLink>
<maml:linkText>Remove-AzureSqlDatabaseServerFirewallRule</maml:linkText>
<maml:uri />
</maml:navigationLink>
<maml:navigationLink>
<maml:linkText>Set-AzureSqlDatabaseServerFirewallRule</maml:linkText>
<maml:uri />
</maml:navigationLink>
</maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<command:details>
<command:name>New-AzureSqlDatabase</command:name>
<maml:description>
<maml:para>Creates a new SQL database.</maml:para>
</maml:description>
<maml:copyright>
<maml:para />
</maml:copyright>
<command:verb>New</command:verb>
<command:noun>AzureSqlDatabase</command:noun>
<dev:version />
</command:details>
<maml:description>
<maml:para>
The New-AzureSqlDatabase cmdlet creates a new SQL Server database for the specified the SQL Server connection context.
</maml:para>
</maml:description>
<command:syntax>
<command:syntaxItem>
<maml:name>New-AzureSqlDatabase</maml:name>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="1" aliases="">
<maml:name>Context</maml:name>
<maml:description>
<maml:para>
The connection context to the specified Windows Azure SQL Database Server.
</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="">
<maml:name>DatabaseName</maml:name>
<maml:description>
<maml:para>
The name of the new database.
</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>Collation</maml:name>
<maml:description>
<maml:para>
Collation for the newly created SQL database.
</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>Edition</maml:name>
<maml:description>
<maml:para>
The edition for the SQL database. Acceptable values are Web and Business. The default value is Web.
</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>Force</maml:name>
<maml:description>
<maml:para>
Allows the action to complete without prompting the user for confirmation.
</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>MaxSizeGB</maml:name>
<maml:description>
<maml:para>
The maximum size for the database in gigabytes. The acceptable values differ based on edition.
</maml:para>
<maml:para>
Web Edition values: 1 or 5
</maml:para>
<maml:para>
Business Edition values: 10, 20, 30, 40, 50, 100, or 150
</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
<maml:name>Confirm</maml:name>
<maml:description>
<maml:para>Prompts you for confirmation before executing the command.</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
<maml:name>WhatIf</maml:name>
<maml:description>
<maml:para>Describes what would happen if you executed the command without actually executing the command.</maml:para>
</maml:description>
</command:parameter>
</command:syntaxItem>
</command:syntax>
<command:parameters>
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>Collation</maml:name>
<maml:description>
<maml:para>
Collation for the newly created SQL database.
</maml:para>
</maml:description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type>
<maml:name>String</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue></dev:defaultValue>
</command:parameter>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="1" aliases="">
<maml:name>Context</maml:name>
<maml:description>
<maml:para>
The connection context to the specified Windows Azure SQL Database Server.
</maml:para>
</maml:description>
<command:parameterValue required="true" variableLength="false">IServerDataServiceContext</command:parameterValue>
<dev:type>
<maml:name>IServerDataServiceContext</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue></dev:defaultValue>
</command:parameter>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="">
<maml:name>DatabaseName</maml:name>
<maml:description>
<maml:para>
The name of the new database.
</maml:para>
</maml:description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type>
<maml:name>String</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue></dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>Edition</maml:name>
<maml:description>
<maml:para>
The edition for the SQL database. Acceptable values are Web and Business. The default value is Web.
</maml:para>
</maml:description>
<command:parameterValue required="true" variableLength="false">DatabaseEdition</command:parameterValue>
<dev:type>
<maml:name>DatabaseEdition</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue></dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>Force</maml:name>
<maml:description>
<maml:para>
Allows the action to complete without prompting the user for confirmation.
</maml:para>
</maml:description>
<command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
<dev:type>
<maml:name>SwitchParameter</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue></dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>MaxSizeGB</maml:name>
<maml:description>
<maml:para>
The maximum size for the database in gigabytes. The acceptable values differ based on edition.
</maml:para>
<maml:para>
Web Edition values: 1 or 5
</maml:para>
<maml:para>
Business Edition values: 10, 20, 30, 40, 50, 100, or 150
</maml:para>
</maml:description>
<command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
<dev:type>
<maml:name>Int32</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue></dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
<maml:name>Confirm</maml:name>
<maml:description>
<maml:para>Prompts you for confirmation before executing the command.</maml:para>
</maml:description>
<command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
<dev:type>
<maml:name>SwitchParameter</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue>false</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
<maml:name>WhatIf</maml:name>
<maml:description>
<maml:para>Describes what would happen if you executed the command without actually executing the command.</maml:para>
</maml:description>
<command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
<dev:type>
<maml:name>SwitchParameter</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue>false</dev:defaultValue>
</command:parameter>
</command:parameters>
<command:inputTypes>
<command:inputType>
<dev:type>
<maml:name></maml:name>
<maml:uri></maml:uri>
<maml:description>
<maml:para />
</maml:description>
</dev:type>
<maml:description></maml:description>
</command:inputType>
</command:inputTypes>
<command:returnValues>
<command:returnValue>
<dev:type>
<maml:name>Microsoft.SqlServer.Management.Client.DataServices.Server.Database</maml:name>
<maml:uri></maml:uri>
<maml:description>
<maml:para />
</maml:description>
</dev:type>
<maml:description></maml:description>
</command:returnValue>
</command:returnValues>
<command:terminatingErrors />
<command:nonTerminatingErrors />
<maml:alertSet>
<maml:title />
<maml:alert>
<maml:para>
To delete a database that was created by New-AzureSqlDatabase, use the Remove-AzureSqlDatabase cmdlet.
</maml:para>
</maml:alert>
<maml:alert></maml:alert>
</maml:alertSet>
<command:examples>
<command:example>
<maml:title>
-------------------------- EXAMPLE 1 --------------------------
</maml:title>
<maml:introduction>
<maml:para></maml:para>
</maml:introduction>
<dev:code>
C:\PS>$database1 = New-AzureSqlDatabase $ctx -DatabaseName "Database1" –Edition "Business" -MaxSizeGB 50 -Collation "SQL_Latin1_General_CP1_CI_AS"
</dev:code>
<dev:remarks>
<maml:para>
This example creates a new database with the name, "Database1", on the Windows Azure SQL Database Server specified by the connection $ctx.
</maml:para>
</dev:remarks>
<command:commandLines>
<command:commandLine>
<command:commandText />
</command:commandLine>
</command:commandLines>
</command:example>
</command:examples>
<maml:relatedLinks>
<maml:navigationLink>
<maml:linkText>Get-AzureSqlDatabase</maml:linkText>
<maml:uri />
</maml:navigationLink>
<maml:navigationLink>
<maml:linkText>Remove-AzureSqlDatabase</maml:linkText>
<maml:uri />
</maml:navigationLink>
<maml:navigationLink>
<maml:linkText>Set-AzureSqlDatabase</maml:linkText>
<maml:uri />
</maml:navigationLink>
</maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<command:details>
<command:name>New-AzureSqlDatabaseServer</command:name>
<maml:description>
<maml:para>Creates a new SQL Database server in the current subscription.</maml:para>
</maml:description>
<maml:copyright>
<maml:para />
</maml:copyright>
<command:verb>New</command:verb>
<command:noun>AzureSqlDatabaseServer</command:noun>
<dev:version />
</command:details>
<maml:description>
<maml:para>The New-AzureSqlDatabaseServer cmdlet creates a new SQL Database server in the current subscription.</maml:para>
</maml:description>
<command:syntax>
<command:syntaxItem>
<maml:name>New-AzureSqlDatabaseServer</maml:name>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="">
<maml:name>AdministratorLogin</maml:name>
<maml:description>
<maml:para>Administrator account name for your new SQL Database server.</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>Force</maml:name>
<maml:description>
<maml:para>Allows the action to complete without prompting you for confirmation.</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>AdministratorLoginPassword</maml:name>
<maml:description>
<maml:para>
Administrator account password for your new SQL Database server. You must specify a strong password. For more information, see <maml:navigationLink>
<maml:linkText>Strong Passwords</maml:linkText>
<maml:uri></maml:uri>
</maml:navigationLink>.
</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>Location</maml:name>
<maml:description>
<maml:para>Region or location where the new SQL Database server is created. The location determines which datacenter the database will reside in.</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
<maml:name>Confirm</maml:name>
<maml:description>
<maml:para>Prompts you for confirmation before executing the command.</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
<maml:name>WhatIf</maml:name>
<maml:description>
<maml:para>Describes what would happen if you executed the command without actually executing the command.</maml:para>
</maml:description>
</command:parameter>
</command:syntaxItem>
</command:syntax>
<command:parameters>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="">
<maml:name>AdministratorLogin</maml:name>
<maml:description>
<maml:para>Administrator account name for your new SQL Database server.</maml:para>
</maml:description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type>
<maml:name>String</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue></dev:defaultValue>
</command:parameter>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>AdministratorLoginPassword</maml:name>
<maml:description>
<maml:para>
Administrator account password for your new SQL Database server. You must specify a strong password. For more information, see <maml:navigationLink>
<maml:linkText>Strong Passwords</maml:linkText>
<maml:uri></maml:uri>
</maml:navigationLink>.
</maml:para>
</maml:description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type>
<maml:name>String</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue></dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>Force</maml:name>
<maml:description>
<maml:para>Allows the action to complete without prompting you for confirmation.</maml:para>
</maml:description>
<command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
<dev:type>
<maml:name>SwitchParameter</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue></dev:defaultValue>
</command:parameter>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>Location</maml:name>
<maml:description>
<maml:para>Region or location where the new SQL Database server is created. The location determines which datacenter the database will reside in.</maml:para>
</maml:description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type>
<maml:name>String</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue></dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
<maml:name>Confirm</maml:name>
<maml:description>
<maml:para>Prompts you for confirmation before executing the command.</maml:para>
</maml:description>
<command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
<dev:type>
<maml:name>SwitchParameter</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue>false</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
<maml:name>WhatIf</maml:name>
<maml:description>
<maml:para>Describes what would happen if you executed the command without actually executing the command.</maml:para>
</maml:description>
<command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
<dev:type>
<maml:name>SwitchParameter</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue>false</dev:defaultValue>
</command:parameter>
</command:parameters>
<command:inputTypes>
<command:inputType>
<dev:type>
<maml:name></maml:name>
<maml:uri></maml:uri>
<maml:description>
<maml:para />
</maml:description>
</dev:type>
<maml:description>
<maml:para></maml:para>
</maml:description>
</command:inputType>
</command:inputTypes>
<command:returnValues>
<command:returnValue>
<dev:type>
<maml:name>SqlDatabaseOperationContext</maml:name>
<maml:uri></maml:uri>
<maml:description>
<maml:para />
</maml:description>
</dev:type>
<maml:description>
<maml:para></maml:para>
</maml:description>
</command:returnValue>
</command:returnValues>
<command:terminatingErrors />
<command:nonTerminatingErrors />
<command:examples>
<command:example>
<maml:title>--------------Example 1--------------</maml:title>
<maml:introduction>
<maml:para></maml:para>
</maml:introduction>
<dev:code>
PS C:\>New-AzureSqlDatabaseServer –Location "East US" –AdministratorLogin "myLogin" –AdministratorLoginPassword "myP@ssword"
</dev:code>
<dev:remarks>
<maml:para>This command creates a SQL Database server.</maml:para>
</dev:remarks>
<command:commandLines>
<command:commandLine>
<command:commandText />
</command:commandLine>
</command:commandLines>
</command:example>
</command:examples>
<maml:relatedLinks>
<maml:navigationLink>
<maml:linkText>Get-AzureSqlDatabaseServer</maml:linkText>
<maml:uri />
</maml:navigationLink>
<maml:navigationLink>
<maml:linkText>Remove-AzureSqlDatabaseServer</maml:linkText>
<maml:uri />
</maml:navigationLink>
<maml:navigationLink>
<maml:linkText>Set-AzureSqlDatabaseServer</maml:linkText>
<maml:uri />
</maml:navigationLink>
</maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<command:details>
<command:name>New-AzureSqlDatabaseServerContext</command:name>
<maml:description>
<maml:para>Creates a new connection context to the specified SQL Server Management Service.</maml:para>
</maml:description>
<maml:copyright>
<maml:para />
</maml:copyright>
<command:verb>New</command:verb>
<command:noun>AzureSqlDatabaseServerContext</command:noun>
<dev:version />
</command:details>
<maml:description>
<maml:para>
Using the credentials provided, the New-AzureSqlDatabaseServerContext cmdlet creates a new connection context to the specified Windows Azure SQL Database Server. The server may be specified by name, by the fully-qualified name, or by URL.
</maml:para>
</maml:description>
<command:syntax>
<command:syntaxItem>
<maml:name>New-AzureSqlDatabaseServerContext</maml:name>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases="">
<maml:name>ServerName</maml:name>
<maml:description>
<maml:para>
The name of the SQL Server.
</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="">
<maml:name>Credential</maml:name>
<maml:description>
<maml:para>
A credential object that provides sufficient authentication for the user to access the service.
</maml:para>
</maml:description>
</command:parameter>
</command:syntaxItem>
<command:syntaxItem>
<maml:name>New-AzureSqlDatabaseServerContext</maml:name>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="">
<maml:name>FullyQualifiedServerName</maml:name>
<maml:description>
<maml:para>
The FQDN name for the SQL Server.
</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="">
<maml:name>Credential</maml:name>
<maml:description>
<maml:para>
A credential object that provides sufficient authentication for the user to access the service.
</maml:para>
</maml:description>
</command:parameter>
</command:syntaxItem>
<command:syntaxItem>
<maml:name>New-AzureSqlDatabaseServerContext</maml:name>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="">
<maml:name>ManageUrl</maml:name>
<maml:description>
<maml:para>
The URL to access the Windows Azure SQL Database Management Portal for the server.
</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="">
<maml:name>Credential</maml:name>
<maml:description>
<maml:para>
A credential object that provides sufficient authentication for the user to access the service.
</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="">
<maml:name>ServerName</maml:name>
<maml:description>
<maml:para>
The name of the SQL Server.
</maml:para>
</maml:description>
</command:parameter>
</command:syntaxItem>
</command:syntax>
<command:parameters>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="">
<maml:name>Credential</maml:name>
<maml:description>
<maml:para>
A credential object that provides sufficient authentication for the user to access the service.
</maml:para>
</maml:description>
<command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
<dev:type>
<maml:name>PSCredential</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue></dev:defaultValue>
</command:parameter>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="">
<maml:name>FullyQualifiedServerName</maml:name>
<maml:description>
<maml:para>
The FQDN name for the SQL Server.
</maml:para>
</maml:description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type>
<maml:name>String</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue></dev:defaultValue>
</command:parameter>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="">
<maml:name>ManageUrl</maml:name>
<maml:description>
<maml:para>
The URL to access the Windows Azure SQL Database Management Portal for the server.
</maml:para>
</maml:description>
<command:parameterValue required="true" variableLength="false">Uri</command:parameterValue>
<dev:type>
<maml:name>Uri</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue></dev:defaultValue>
</command:parameter>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases="">
<maml:name>ServerName</maml:name>
<maml:description>
<maml:para>
The name of the SQL Server.
</maml:para>
</maml:description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type>
<maml:name>String</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue></dev:defaultValue>
</command:parameter>
</command:parameters>
<command:inputTypes>
<command:inputType>
<dev:type>
<maml:name></maml:name>
<maml:uri></maml:uri>
<maml:description>
<maml:para />
</maml:description>
</dev:type>
<maml:description></maml:description>
</command:inputType>
</command:inputTypes>
<command:returnValues>
<command:returnValue>
<dev:type>
<maml:name>Microsoft.SqlServer.Management.Client.DataServices.Server.ServerDataService</maml:name>
<maml:uri></maml:uri>
<maml:description>
<maml:para />
</maml:description>
</dev:type>
<maml:description></maml:description>
</command:returnValue>
</command:returnValues>
<command:terminatingErrors />
<command:nonTerminatingErrors />
<maml:alertSet>
<maml:title />
<maml:alert>
<maml:para>
If you authenticated without specifying a domain, then if you are using PowerShell 2.0, the Get-Credential cmdlet returns a backslash prepended to the username, for example, "\user" (PowerShell 3.0 does not add the backslash). This backslash is not recognized by the -Credential parameter of the New-AzureSqlDatabaseServerContext cmdlet. To remove it, use code similar to the following:
</maml:para>
<maml:para>
C:\PS>$cred = Get-Credential
C:\PS>$cred = New-Object -TypeName 'System.Management.Automation.PSCredential' -ArgumentList $cred.Username.Replace("\",""),$cred.Password
</maml:para>
</maml:alert>
</maml:alertSet>
<command:examples>
<command:example>
<maml:title>
-------------------------- EXAMPLE 1 --------------------------
</maml:title>
<maml:introduction>
<maml:para></maml:para>
</maml:introduction>
<dev:code>
C:\PS>$cred = Get-Credential
C:\PS>$ctx = New-AzureSqlDatabaseServerContext -ServerName "lpqd0zbr8y" -credential $cred
C:\PS>$database1 = New-AzureSqlDatabase $ctx -DatabaseName "Database1" -MaxSizeGB 50 -Collation "SQL_Latin1_General_CP1_CI_AS"
</dev:code>
<dev:remarks>
<maml:para>
This example prompts the user for server administrator credentials, connects to the SQL Server, "lpqd0zbr8y", using those credentials, and creates a new database on that server.
</maml:para>
</dev:remarks>
<command:commandLines>
<command:commandLine>
<command:commandText />
</command:commandLine>
</command:commandLines>
</command:example>
</command:examples>
<maml:relatedLinks>
<maml:navigationLink>
<maml:linkText>Get-AzureSqlDatabase</maml:linkText>
<maml:uri />
</maml:navigationLink>
<maml:navigationLink>
<maml:linkText>New-AzureSqlDatabase</maml:linkText>
<maml:uri />
</maml:navigationLink>
<maml:navigationLink>
<maml:linkText>Remove-AzureSqlDatabase</maml:linkText>
<maml:uri />
</maml:navigationLink>
<maml:navigationLink>
<maml:linkText>Set-AzureSqlDatabase</maml:linkText>
<maml:uri />
</maml:navigationLink>
</maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<command:details>
<command:name>New-AzureSqlDatabaseServerFirewallRule</command:name>
<maml:description>
<maml:para>Creates a new firewall rule in the specified SQL Database server in the current subscription.</maml:para>
</maml:description>
<maml:copyright>
<maml:para />
</maml:copyright>
<command:verb>New</command:verb>
<command:noun>AzureSqlDatabaseServerFirewallRule</command:noun>
<dev:version />
</command:details>
<maml:description>
<maml:para>The New-AzureSqlDatabaseServerFirewallRule cmdlet creates a new firewall rule in the specified SQL Database server. </maml:para>
<maml:para>Use the cmdlet with the IpRange parameter set to allow any IP address within the range specified in the StartIpAddress and EndIpAddress parameters to connect to the SQL Database server.</maml:para>
<maml:para>Use the cmdlet with the AllowAllAzureServices parameter set to allow Windows Azure connections to the SQL Database server. A firewall rule with starting and ending IP addresses equal to 0.0.0.0 will be created. If you do not specify a firewall rule name, a firewall rule with default name “AllowAllAzureServices” will be created.</maml:para>
</maml:description>
<command:syntax>
<command:syntaxItem>
<maml:name>New-AzureSqlDatabaseServerFirewallRule</maml:name>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases="">
<maml:name>ServerName</maml:name>
<maml:description>
<maml:para>
The name of the SQL Database server where the new firewall rule is created. Specify only the server name, and not the fully qualified DNS name.
</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>Force</maml:name>
<maml:description>
<maml:para>
Allows the action to complete without prompting you for confirmation.
</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>EndIpAddress</maml:name>
<maml:description>
<maml:para>
End value of the IP address range.
</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>RuleName</maml:name>
<maml:description>
<maml:para>
New SQL Database firewall rule name.
</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>StartIpAddress</maml:name>
<maml:description>
<maml:para>
Start value of the IP address range.
</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
<maml:name>Confirm</maml:name>
<maml:description>
<maml:para>Prompts you for confirmation before executing the command.</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
<maml:name>WhatIf</maml:name>
<maml:description>
<maml:para>Describes what would happen if you executed the command without actually executing the command.</maml:para>
</maml:description>
</command:parameter>
</command:syntaxItem>
<command:syntaxItem>
<maml:name>New-AzureSqlDatabaseServerFirewallRule</maml:name>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases="">
<maml:name>ServerName</maml:name>
<maml:description>
<maml:para>
The name of the SQL Database server where the new firewall rule is created. Specify only the server name, and not the fully qualified DNS name.
</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>Force</maml:name>
<maml:description>
<maml:para>
Allows the action to complete without prompting you for confirmation.
</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>RuleName</maml:name>
<maml:description>
<maml:para>
New SQL Database firewall rule name.
</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>AllowAllAzureServices</maml:name>
<maml:description>
<maml:para>Allows Windows Azure connections to the SQL Database server.</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
<maml:name>Confirm</maml:name>
<maml:description>
<maml:para>Prompts you for confirmation before executing the command.</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
<maml:name>WhatIf</maml:name>
<maml:description>
<maml:para>Describes what would happen if you executed the command without actually executing the command.</maml:para>
</maml:description>
</command:parameter>
</command:syntaxItem>
</command:syntax>
<command:parameters>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>AllowAllAzureServices</maml:name>
<maml:description>
<maml:para>Allows Windows Azure connections to the SQL Database server.</maml:para>
</maml:description>
<command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
<dev:type>
<maml:name>SwitchParameter</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue></dev:defaultValue>
</command:parameter>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>EndIpAddress</maml:name>
<maml:description>
<maml:para>
End value of the IP address range.
</maml:para>
</maml:description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type>
<maml:name>String</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue></dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>Force</maml:name>
<maml:description>
<maml:para>
Allows the action to complete without prompting you for confirmation.
</maml:para>
</maml:description>
<command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
<dev:type>
<maml:name>SwitchParameter</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue></dev:defaultValue>
</command:parameter>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>RuleName</maml:name>
<maml:description>
<maml:para>
New SQL Database firewall rule name.
</maml:para>
</maml:description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type>
<maml:name>String</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue></dev:defaultValue>
</command:parameter>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases="">
<maml:name>ServerName</maml:name>
<maml:description>
<maml:para>
The name of the SQL Database server where the new firewall rule is created. Specify only the server name, and not the fully qualified DNS name.
</maml:para>
</maml:description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type>
<maml:name>String</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue></dev:defaultValue>
</command:parameter>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>StartIpAddress</maml:name>
<maml:description>
<maml:para>
Start value of the IP address range.
</maml:para>
</maml:description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type>
<maml:name>String</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue></dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
<maml:name>Confirm</maml:name>
<maml:description>
<maml:para>Prompts you for confirmation before executing the command.</maml:para>
</maml:description>
<command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
<dev:type>
<maml:name>SwitchParameter</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue>false</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
<maml:name>WhatIf</maml:name>
<maml:description>
<maml:para>Describes what would happen if you executed the command without actually executing the command.</maml:para>
</maml:description>
<command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
<dev:type>
<maml:name>SwitchParameter</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue>false</dev:defaultValue>
</command:parameter>
</command:parameters>
<command:inputTypes>
<command:inputType>
<dev:type>
<maml:name></maml:name>
<maml:uri></maml:uri>
<maml:description>
<maml:para />
</maml:description>
</dev:type>
<maml:description></maml:description>
</command:inputType>
</command:inputTypes>
<command:returnValues>
<command:returnValue>
<dev:type>
<maml:name>SqlDatabaseServerFirewallRuleContext</maml:name>
<maml:uri></maml:uri>
<maml:description>
<maml:para />
</maml:description>
</dev:type>
<maml:description></maml:description>
</command:returnValue>
</command:returnValues>
<command:terminatingErrors />
<command:nonTerminatingErrors />
<command:examples>
<command:example>
<maml:title>-------------- Example 1 --------------</maml:title>
<maml:introduction>
<maml:para></maml:para>
</maml:introduction>
<dev:code>
PS C:\> New-AzureSqlDatabaseServerFirewallRule –ServerName "lpqd0zbr8y" -RuleName "myRule1" -StartIpAddress 12.1.1.1 –EndIpAddress 12.1.1.2
</dev:code>
<dev:remarks>
<maml:para>
This command creates a new firewall rule (“myRule1”) in the specified SQL Database server (“lpqd0zbr8y”) with the specified IP range values.
</maml:para>
</dev:remarks>
<command:commandLines>
<command:commandLine>
<command:commandText />
</command:commandLine>
</command:commandLines>
</command:example>
<command:example>
<maml:title>-------------- Example 2 --------------</maml:title>
<maml:introduction>
<maml:para></maml:para>
</maml:introduction>
<dev:code>
PS C:\> New-AzureSqlDatabaseServerFirewallRule –ServerName "lpqd0zbr8y" -AllowAllAzureServices -RuleName "myRule2"
</dev:code>
<dev:remarks>
<maml:para>
This command creates a new firewall rule (“myRule2”) in the specified SQL Database server (“lpqd0zbr8y”) to allow Windows Azure connections.
</maml:para>
</dev:remarks>
<command:commandLines>
<command:commandLine>
<command:commandText />
</command:commandLine>
</command:commandLines>
</command:example>
<command:example>
<maml:title>-------------- Example 3 --------------</maml:title>
<maml:introduction>
<maml:para></maml:para>
</maml:introduction>
<dev:code>
PS C:\> New-AzureSqlDatabaseServerFirewallRule –ServerName "lpqd0zbr8y" -AllowAllAzureServices
</dev:code>
<dev:remarks>
<maml:para>
This command creates a new firewall rule with the default firewall rule name (“AllowAllAzureServices”) in the specified SQL Database server (“lpqd0zbr8y”) to allow Windows Azure connections.
</maml:para>
</dev:remarks>
<command:commandLines>
<command:commandLine>
<command:commandText />
</command:commandLine>
</command:commandLines>
</command:example>
</command:examples>
<maml:relatedLinks>
<maml:navigationLink>
<maml:linkText>Get-AzureSqlDatabaseServerFirewallRule</maml:linkText>
<maml:uri />
</maml:navigationLink>
<maml:navigationLink>
<maml:linkText>Remove-AzureSqlDatabaseServerFirewallRule</maml:linkText>
<maml:uri />
</maml:navigationLink>
<maml:navigationLink>
<maml:linkText>Set-AzureSqlDatabaseServerFirewallRule</maml:linkText>
<maml:uri />
</maml:navigationLink>
</maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<command:details>
<command:name>Remove-AzureSqlDatabase</command:name>
<maml:description>
<maml:para>Deletes the specified SQL database.</maml:para>
</maml:description>
<maml:copyright>
<maml:para />
</maml:copyright>
<command:verb>Remove</command:verb>
<command:noun>AzureSqlDatabase</command:noun>
<dev:version />
</command:details>
<maml:description>
<maml:para>
The Remove-AzureSqlDatabase cmdlet deletes a SQL Server database at the specified SQL Server connection context.
</maml:para>
</maml:description>
<command:syntax>
<command:syntaxItem>
<maml:name>Remove-AzureSqlDatabase</maml:name>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases="">
<maml:name>Context</maml:name>
<maml:description>
<maml:para>
The connection context to the specified Windows Azure SQL Database Server.
</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="2" aliases="InputObject">
<maml:name>Database</maml:name>
<maml:description>
<maml:para>
A database object representing the database to be removed.
</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>Force</maml:name>
<maml:description>
<maml:para>
Allows the action to complete without prompting the user for confirmation.
</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
<maml:name>Confirm</maml:name>
<maml:description>
<maml:para>Prompts you for confirmation before executing the command.</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
<maml:name>WhatIf</maml:name>
<maml:description>
<maml:para>Describes what would happen if you executed the command without actually executing the command.</maml:para>
</maml:description>
</command:parameter>
</command:syntaxItem>
<command:syntaxItem>
<maml:name>Remove-AzureSqlDatabase</maml:name>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases="">
<maml:name>Context</maml:name>
<maml:description>
<maml:para>
The connection context to the specified Windows Azure SQL Database Server.
</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="">
<maml:name>DatabaseName</maml:name>
<maml:description>
<maml:para>
The name of the database to be removed.
</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>Force</maml:name>
<maml:description>
<maml:para>
Allows the action to complete without prompting the user for confirmation.
</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
<maml:name>Confirm</maml:name>
<maml:description>
<maml:para>Prompts you for confirmation before executing the command.</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
<maml:name>WhatIf</maml:name>
<maml:description>
<maml:para>Describes what would happen if you executed the command without actually executing the command.</maml:para>
</maml:description>
</command:parameter>
</command:syntaxItem>
</command:syntax>
<command:parameters>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases="">
<maml:name>Context</maml:name>
<maml:description>
<maml:para>
The connection context to the specified Windows Azure SQL Database Server.
</maml:para>
</maml:description>
<command:parameterValue required="true" variableLength="false">IServerDataServiceContext</command:parameterValue>
<dev:type>
<maml:name>IServerDataServiceContext</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue></dev:defaultValue>
</command:parameter>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="2" aliases="InputObject">
<maml:name>Database</maml:name>
<maml:description>
<maml:para>
A database object representing the database to be removed.
</maml:para>
</maml:description>
<command:parameterValue required="true" variableLength="false">Database</command:parameterValue>
<dev:type>
<maml:name>Database</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue></dev:defaultValue>
</command:parameter>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="">
<maml:name>DatabaseName</maml:name>
<maml:description>
<maml:para>
The name of the database to be removed.
</maml:para>
</maml:description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type>
<maml:name>String</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue></dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>Force</maml:name>
<maml:description>
<maml:para>
Allows the action to complete without prompting the user for confirmation.
</maml:para>
</maml:description>
<command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
<dev:type>
<maml:name>SwitchParameter</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue></dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
<maml:name>Confirm</maml:name>
<maml:description>
<maml:para>Prompts you for confirmation before executing the command.</maml:para>
</maml:description>
<command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
<dev:type>
<maml:name>SwitchParameter</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue>false</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
<maml:name>WhatIf</maml:name>
<maml:description>
<maml:para>Describes what would happen if you executed the command without actually executing the command.</maml:para>
</maml:description>
<command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
<dev:type>
<maml:name>SwitchParameter</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue>false</dev:defaultValue>
</command:parameter>
</command:parameters>
<command:inputTypes>
<command:inputType>
<dev:type>
<maml:name>Microsoft.SqlServer.Management.Client.DataServices.Server.Database</maml:name>
<maml:uri></maml:uri>
<maml:description>
<maml:para />
</maml:description>
</dev:type>
<maml:description></maml:description>
</command:inputType>
</command:inputTypes>
<command:returnValues>
<command:returnValue>
<dev:type>
<maml:name></maml:name>
<maml:uri></maml:uri>
<maml:description>
<maml:para />
</maml:description>
</dev:type>
<maml:description></maml:description>
</command:returnValue>
</command:returnValues>
<command:terminatingErrors />
<command:nonTerminatingErrors />
<maml:alertSet>
<maml:title />
<maml:alert>
<maml:para>
Because of the severity of the operation, this cmdlet prompts the user for confirmation by default. This can be overridden by using the -Force parameter.
</maml:para>
</maml:alert>
<maml:alert></maml:alert>
</maml:alertSet>
<command:examples>
<command:example>
<maml:title>
-------------------------- EXAMPLE 1 --------------------------
</maml:title>
<maml:introduction>
<maml:para></maml:para>
</maml:introduction>
<dev:code>
C:\PS>Remove-AzureSqlDatabase $ctx -DatabaseName "Database1"
</dev:code>
<dev:remarks>
<maml:para>
This example removes the database "Database1" on the Windows Azure SQL Database Server specified by the connection $ctx.
</maml:para>
</dev:remarks>
<command:commandLines>
<command:commandLine>
<command:commandText />
</command:commandLine>
</command:commandLines>
</command:example>
<command:example>
<maml:title>
-------------------------- EXAMPLE 2 --------------------------
</maml:title>
<maml:introduction>
<maml:para></maml:para>
</maml:introduction>
<dev:code>
C:\PS>$database1 | Remove-AzureSqlDatabase $ctx
</dev:code>
<dev:remarks>
<maml:para>
This example demonstrates the alternative method of passing the database object through the pipeline.
</maml:para>
</dev:remarks>
<command:commandLines>
<command:commandLine>
<command:commandText />
</command:commandLine>
</command:commandLines>
</command:example>
</command:examples>
<maml:relatedLinks>
<maml:navigationLink>
<maml:linkText>Get-AzureSqlDatabase</maml:linkText>
<maml:uri />
</maml:navigationLink>
<maml:navigationLink>
<maml:linkText>New-AzureSqlDatabase</maml:linkText>
<maml:uri />
</maml:navigationLink>
<maml:navigationLink>
<maml:linkText>Set-AzureSqlDatabase</maml:linkText>
<maml:uri />
</maml:navigationLink>
</maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<command:details>
<command:name>Remove-AzureSqlDatabaseServer</command:name>
<maml:description>
<maml:para>Deletes the specified SQL Database server from the current subscription.</maml:para>
</maml:description>
<maml:copyright>
<maml:para />
</maml:copyright>
<command:verb>Remove</command:verb>
<command:noun>AzureSqlDatabaseServer</command:noun>
<dev:version />
</command:details>
<maml:description>
<maml:para>
The Remove-AzureSqlDatabaseServer cmdlet removes the specified SQL Database server from the current subscription. It also deletes all databases under the specified SQL Database server.
</maml:para>
</maml:description>
<command:syntax>
<command:syntaxItem>
<maml:name>Remove-AzureSqlDatabaseServer</maml:name>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases="">
<maml:name>ServerName</maml:name>
<maml:description>
<maml:para>
The SQL Database server name to be deleted. Specify only the server name, and not the fully qualified DNS name.
</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>Force</maml:name>
<maml:description>
<maml:para>
Allows the action to complete without prompting you for confirmation.
</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
<maml:name>Confirm</maml:name>
<maml:description>
<maml:para>Prompts you for confirmation before executing the command.</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
<maml:name>WhatIf</maml:name>
<maml:description>
<maml:para>Describes what would happen if you executed the command without actually executing the command.</maml:para>
</maml:description>
</command:parameter>
</command:syntaxItem>
</command:syntax>
<command:parameters>
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>Force</maml:name>
<maml:description>
<maml:para>
Allows the action to complete without prompting you for confirmation.
</maml:para>
</maml:description>
<command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
<dev:type>
<maml:name>SwitchParameter</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue></dev:defaultValue>
</command:parameter>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases="">
<maml:name>ServerName</maml:name>
<maml:description>
<maml:para>
The SQL Database server name to be deleted. Specify only the server name, and not the fully qualified DNS name.
</maml:para>
</maml:description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type>
<maml:name>String</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue></dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
<maml:name>Confirm</maml:name>
<maml:description>
<maml:para>Prompts you for confirmation before executing the command.</maml:para>
</maml:description>
<command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
<dev:type>
<maml:name>SwitchParameter</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue>false</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
<maml:name>WhatIf</maml:name>
<maml:description>
<maml:para>Describes what would happen if you executed the command without actually executing the command.</maml:para>
</maml:description>
<command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
<dev:type>
<maml:name>SwitchParameter</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue>false</dev:defaultValue>
</command:parameter>
</command:parameters>
<command:inputTypes>
<command:inputType>
<dev:type>
<maml:name></maml:name>
<maml:uri></maml:uri>
<maml:description>
<maml:para />
</maml:description>
</dev:type>
<maml:description></maml:description>
</command:inputType>
</command:inputTypes>
<command:returnValues>
<command:returnValue>
<dev:type>
<maml:name></maml:name>
<maml:uri></maml:uri>
<maml:description>
<maml:para />
</maml:description>
</dev:type>
<maml:description></maml:description>
</command:returnValue>
</command:returnValues>
<command:terminatingErrors />
<command:nonTerminatingErrors />
<command:examples>
<command:example>
<maml:title>-------------- Example 1 --------------</maml:title>
<maml:introduction>
<maml:para></maml:para>
</maml:introduction>
<dev:code>
PS C:\> Remove-AzureSqlDatabaseServer –ServerName "lpqd0zbr8y"
</dev:code>
<dev:remarks>
<maml:para>
This command deletes the specified SQL Database server (“lpqd0zbr8y”).
</maml:para>
</dev:remarks>
<command:commandLines>
<command:commandLine>
<command:commandText />
</command:commandLine>
</command:commandLines>
</command:example>
</command:examples>
<maml:relatedLinks>
<maml:navigationLink>
<maml:linkText>Get-AzureSqlDatabaseServer</maml:linkText>
<maml:uri />
</maml:navigationLink>
<maml:navigationLink>
<maml:linkText>New-AzureSqlDatabaseServer</maml:linkText>
<maml:uri />
</maml:navigationLink>
<maml:navigationLink>
<maml:linkText>Set-AzureSqlDatabaseServer</maml:linkText>
<maml:uri />
</maml:navigationLink>
</maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<command:details>
<command:name>Remove-AzureSqlDatabaseServerFirewallRule</command:name>
<maml:description>
<maml:para>Deletes a firewall rule from the specified SQL Database server in the current subscription.</maml:para>
</maml:description>
<maml:copyright>
<maml:para />
</maml:copyright>
<command:verb>Remove</command:verb>
<command:noun>AzureSqlDatabaseServerFirewallRule</command:noun>
<dev:version />
</command:details>
<maml:description>
<maml:para>
The Remove-AzureSqlDatabaseServerFirewallRule deletes a firewall rule from the specified SQL Database server in the current subscription.
</maml:para>
</maml:description>
<command:syntax>
<command:syntaxItem>
<maml:name>Remove-AzureSqlDatabaseServerFirewallRule</maml:name>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases="">
<maml:name>ServerName</maml:name>
<maml:description>
<maml:para>
The SQL Database server name from where the firewall rule is to be deleted. Specify only the server name, and not the fully qualified DNS name.
</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>Force</maml:name>
<maml:description>
<maml:para>
Allows the action to complete without prompting you for confirmation.
</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="">
<maml:name>RuleName</maml:name>
<maml:description>
<maml:para>
The SQL Database firewall rule name to be deleted.
</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
<maml:name>Confirm</maml:name>
<maml:description>
<maml:para>Prompts you for confirmation before executing the command.</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
<maml:name>WhatIf</maml:name>
<maml:description>
<maml:para>Describes what would happen if you executed the command without actually executing the command.</maml:para>
</maml:description>
</command:parameter>
</command:syntaxItem>
</command:syntax>
<command:parameters>
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>Force</maml:name>
<maml:description>
<maml:para>
Allows the action to complete without prompting you for confirmation.
</maml:para>
</maml:description>
<command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
<dev:type>
<maml:name>SwitchParameter</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue></dev:defaultValue>
</command:parameter>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="">
<maml:name>RuleName</maml:name>
<maml:description>
<maml:para>
The SQL Database firewall rule name to be deleted.
</maml:para>
</maml:description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type>
<maml:name>String</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue></dev:defaultValue>
</command:parameter>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases="">
<maml:name>ServerName</maml:name>
<maml:description>
<maml:para>
The SQL Database server name from where the firewall rule is to be deleted. Specify only the server name, and not the fully qualified DNS name.
</maml:para>
</maml:description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type>
<maml:name>String</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue></dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
<maml:name>Confirm</maml:name>
<maml:description>
<maml:para>Prompts you for confirmation before executing the command.</maml:para>
</maml:description>
<command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
<dev:type>
<maml:name>SwitchParameter</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue>false</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
<maml:name>WhatIf</maml:name>
<maml:description>
<maml:para>Describes what would happen if you executed the command without actually executing the command.</maml:para>
</maml:description>
<command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
<dev:type>
<maml:name>SwitchParameter</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue>false</dev:defaultValue>
</command:parameter>
</command:parameters>
<command:inputTypes>
<command:inputType>
<dev:type>
<maml:name></maml:name>
<maml:uri></maml:uri>
<maml:description>
<maml:para />
</maml:description>
</dev:type>
<maml:description></maml:description>
</command:inputType>
</command:inputTypes>
<command:returnValues>
<command:returnValue>
<dev:type>
<maml:name></maml:name>
<maml:uri></maml:uri>
<maml:description>
<maml:para />
</maml:description>
</dev:type>
<maml:description></maml:description>
</command:returnValue>
</command:returnValues>
<command:terminatingErrors />
<command:nonTerminatingErrors />
<command:examples>
<command:example>
<maml:title>-------------- Example 1 --------------</maml:title>
<maml:introduction>
<maml:para></maml:para>
</maml:introduction>
<dev:code>
PS C:\> Remove-AzureSqlDatabaseServerFirewallRule –ServerName "lpqd0zbr8y" -RuleName "myRule"
</dev:code>
<dev:remarks>
<maml:para>
This command deletes a firewall rule (“myRule”) from the specified SQL Database server (“lpqd0zbr8y”).
</maml:para>
</dev:remarks>
<command:commandLines>
<command:commandLine>
<command:commandText />
</command:commandLine>
</command:commandLines>
</command:example>
</command:examples>
<maml:relatedLinks>
<maml:navigationLink>
<maml:linkText>Get-AzureSqlDatabaseServerFirewallRule</maml:linkText>
<maml:uri />
</maml:navigationLink>
<maml:navigationLink>
<maml:linkText>New-AzureSqlDatabaseServerFirewallRule</maml:linkText>
<maml:uri />
</maml:navigationLink>
<maml:navigationLink>
<maml:linkText>Set-AzureSqlDatabaseServerFirewallRule</maml:linkText>
<maml:uri />
</maml:navigationLink>
</maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<command:details>
<command:name>Set-AzureSqlDatabase</command:name>
<maml:description>
<maml:para>Sets properties for the specified SQL database.</maml:para>
</maml:description>
<maml:copyright>
<maml:para />
</maml:copyright>
<command:verb>Set</command:verb>
<command:noun>AzureSqlDatabase</command:noun>
<dev:version />
</command:details>
<maml:description>
<maml:para>
The Set-AzureSqlDatabase cmdlet sets properties for the specified SQL database. You can specify the database by name or pass a SQL database object through the pipeline.
</maml:para>
</maml:description>
<command:syntax>
<command:syntaxItem>
<maml:name>Set-AzureSqlDatabase</maml:name>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases="">
<maml:name>Context</maml:name>
<maml:description>
<maml:para>
The connection context to the specified Windows Azure SQL Database Server.
</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="2" aliases="">
<maml:name>Database</maml:name>
<maml:description>
<maml:para>
A database object representing the SQL database to modify.
</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>Edition</maml:name>
<maml:description>
<maml:para>
If specified, the new edition for the SQL database. Acceptable values are Web and Business.
</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>Force</maml:name>
<maml:description>
<maml:para>
Allows the action to complete without prompting you for confirmation.
</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>MaxSizeGB</maml:name>
<maml:description>
<maml:para>
If specified, the new maximum size for the database in gigabytes. The acceptable values differ based on edition.
</maml:para>
<maml:para>
Web Edition values: 1 or 5
</maml:para>
<maml:para>
Business Edition values: 10, 20, 30, 40, 50, 100, or 150
</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>NewName</maml:name>
<maml:description>
<maml:para>
If specified, the new name of the SQL database.
</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>PassThru</maml:name>
<maml:description>
<maml:para>
Returns the input object.
</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
<maml:name>Confirm</maml:name>
<maml:description>
<maml:para>Prompts you for confirmation before executing the command.</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
<maml:name>WhatIf</maml:name>
<maml:description>
<maml:para>Describes what would happen if you executed the command without actually executing the command.</maml:para>
</maml:description>
</command:parameter>
</command:syntaxItem>
<command:syntaxItem>
<maml:name>Set-AzureSqlDatabase</maml:name>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases="">
<maml:name>Context</maml:name>
<maml:description>
<maml:para>
The connection context to the specified Windows Azure SQL Database Server.
</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="">
<maml:name>DatabaseName</maml:name>
<maml:description>
<maml:para>
The name of the SQL database to modify.
</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>Edition</maml:name>
<maml:description>
<maml:para>
If specified, the new edition for the SQL database. Acceptable values are Web and Business.
</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>Force</maml:name>
<maml:description>
<maml:para>
Allows the action to complete without prompting you for confirmation.
</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>MaxSizeGB</maml:name>
<maml:description>
<maml:para>
If specified, the new maximum size for the database in gigabytes. The acceptable values differ based on edition.
</maml:para>
<maml:para>
Web Edition values: 1 or 5
</maml:para>
<maml:para>
Business Edition values: 10, 20, 30, 40, 50, 100, or 150
</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>NewName</maml:name>
<maml:description>
<maml:para>
If specified, the new name of the SQL database.
</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>PassThru</maml:name>
<maml:description>
<maml:para>
Returns the input object.
</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
<maml:name>Confirm</maml:name>
<maml:description>
<maml:para>Prompts you for confirmation before executing the command.</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
<maml:name>WhatIf</maml:name>
<maml:description>
<maml:para>Describes what would happen if you executed the command without actually executing the command.</maml:para>
</maml:description>
</command:parameter>
</command:syntaxItem>
</command:syntax>
<command:parameters>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases="">
<maml:name>Context</maml:name>
<maml:description>
<maml:para>
The connection context to the specified Windows Azure SQL Database Server.
</maml:para>
</maml:description>
<command:parameterValue required="true" variableLength="false">IServerDataServiceContext</command:parameterValue>
<dev:type>
<maml:name>IServerDataServiceContext</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue></dev:defaultValue>
</command:parameter>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="2" aliases="">
<maml:name>Database</maml:name>
<maml:description>
<maml:para>
A database object representing the SQL database to modify.
</maml:para>
</maml:description>
<command:parameterValue required="true" variableLength="false">Database</command:parameterValue>
<dev:type>
<maml:name>Database</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue></dev:defaultValue>
</command:parameter>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="">
<maml:name>DatabaseName</maml:name>
<maml:description>
<maml:para>
The name of the SQL database to modify.
</maml:para>
</maml:description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type>
<maml:name>String</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue></dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>Edition</maml:name>
<maml:description>
<maml:para>
If specified, the new edition for the SQL database. Acceptable values are Web and Business.
</maml:para>
</maml:description>
<command:parameterValue required="true" variableLength="false">DatabaseEdition</command:parameterValue>
<dev:type>
<maml:name>DatabaseEdition</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue></dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>Force</maml:name>
<maml:description>
<maml:para>
Allows the action to complete without prompting you for confirmation.
</maml:para>
</maml:description>
<command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
<dev:type>
<maml:name>SwitchParameter</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue></dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>MaxSizeGB</maml:name>
<maml:description>
<maml:para>
If specified, the new maximum size for the database in gigabytes. The acceptable values differ based on edition.
</maml:para>
<maml:para>
Web Edition values: 1 or 5
</maml:para>
<maml:para>
Business Edition values: 10, 20, 30, 40, 50, 100, or 150
</maml:para>
</maml:description>
<command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
<dev:type>
<maml:name>Int32</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue></dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>NewName</maml:name>
<maml:description>
<maml:para>
If specified, the new name of the SQL database.
</maml:para>
</maml:description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type>
<maml:name>String</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue></dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>PassThru</maml:name>
<maml:description>
<maml:para>
Returns the input object.
</maml:para>
</maml:description>
<command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
<dev:type>
<maml:name>SwitchParameter</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue></dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
<maml:name>Confirm</maml:name>
<maml:description>
<maml:para>Prompts you for confirmation before executing the command.</maml:para>
</maml:description>
<command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
<dev:type>
<maml:name>SwitchParameter</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue>false</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
<maml:name>WhatIf</maml:name>
<maml:description>
<maml:para>Describes what would happen if you executed the command without actually executing the command.</maml:para>
</maml:description>
<command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
<dev:type>
<maml:name>SwitchParameter</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue>false</dev:defaultValue>
</command:parameter>
</command:parameters>
<command:inputTypes>
<command:inputType>
<dev:type>
<maml:name>Microsoft.SqlServer.Management.Client.DataServices.Server.Database</maml:name>
<maml:uri></maml:uri>
<maml:description>
<maml:para />
</maml:description>
</dev:type>
<maml:description></maml:description>
</command:inputType>
</command:inputTypes>
<command:returnValues>
<command:returnValue>
<dev:type>
<maml:name>Microsoft.SqlServer.Management.Client.DataServices.Server.Database</maml:name>
<maml:uri></maml:uri>
<maml:description>
<maml:para />
</maml:description>
</dev:type>
<maml:description></maml:description>
</command:returnValue>
</command:returnValues>
<command:terminatingErrors />
<command:nonTerminatingErrors />
<command:examples>
<command:example>
<maml:title>
-------------------------- EXAMPLE 1 --------------------------
</maml:title>
<maml:introduction>
<maml:para></maml:para>
</maml:introduction>
<dev:code>
C:\PS>$database1 = Get-AzureSqlDatabase $ctx -DatabaseName "Database1"
C:\PS>Set-AzureSqlDatabase $ctx -Database $database1 -MaxSizeGB 20
</dev:code>
<dev:remarks>
<maml:para>
This example changes the current size of the database, "Database1", to 20 GB, on the Windows Azure SQL Database Server specified by the connection $ctx.
</maml:para>
</dev:remarks>
<command:commandLines>
<command:commandLine>
<command:commandText />
</command:commandLine>
</command:commandLines>
</command:example>
</command:examples>
<maml:relatedLinks>
<maml:navigationLink>
<maml:linkText>Get-AzureSqlDatabase</maml:linkText>
<maml:uri />
</maml:navigationLink>
<maml:navigationLink>
<maml:linkText>New-AzureSqlDatabase</maml:linkText>
<maml:uri />
</maml:navigationLink>
<maml:navigationLink>
<maml:linkText>Remove-AzureSqlDatabase</maml:linkText>
<maml:uri />
</maml:navigationLink>
</maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<command:details>
<command:name>Set-AzureSqlDatabaseServer</command:name>
<maml:description>
<maml:para>Updates the properties of the specified SQL Database server in the current subscription. </maml:para>
</maml:description>
<maml:copyright>
<maml:para />
</maml:copyright>
<command:verb>Set</command:verb>
<command:noun>AzureSqlDatabaseServer</command:noun>
<dev:version />
</command:details>
<maml:description>
<maml:para>The Set-AzureSqlDatabaseServer cmdlet updates the properties of the specified SQL Database server. In the current release, you can only update the administrator account password for a SQL Database server.</maml:para>
</maml:description>
<command:syntax>
<command:syntaxItem>
<maml:name>Set-AzureSqlDatabaseServer</maml:name>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases="">
<maml:name>ServerName</maml:name>
<maml:description>
<maml:para>The name of the SQL Database server to be updated. Specify only the server name, and not the fully qualified DNS name.</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>Force</maml:name>
<maml:description>
<maml:para>Allows the action to complete without prompting you for confirmation.</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>AdminPassword</maml:name>
<maml:description>
<maml:para>
The new Administrator account password for your SQL Database server. You must specify a strong password. For more information, see <maml:navigationLink>
<maml:linkText>Strong Passwords</maml:linkText>
<maml:uri></maml:uri>
</maml:navigationLink>.
</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
<maml:name>Confirm</maml:name>
<maml:description>
<maml:para>Prompts you for confirmation before executing the command.</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
<maml:name>WhatIf</maml:name>
<maml:description>
<maml:para>Describes what would happen if you executed the command without actually executing the command.</maml:para>
</maml:description>
</command:parameter>
</command:syntaxItem>
</command:syntax>
<command:parameters>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>AdminPassword</maml:name>
<maml:description>
<maml:para>
The new Administrator account password for your SQL Database server. You must specify a strong password. For more information, see <maml:navigationLink>
<maml:linkText>Strong Passwords</maml:linkText>
<maml:uri></maml:uri>
</maml:navigationLink>.
</maml:para>
</maml:description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type>
<maml:name>String</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue></dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>Force</maml:name>
<maml:description>
<maml:para>Allows the action to complete without prompting you for confirmation.</maml:para>
</maml:description>
<command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
<dev:type>
<maml:name>SwitchParameter</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue></dev:defaultValue>
</command:parameter>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases="">
<maml:name>ServerName</maml:name>
<maml:description>
<maml:para>The name of the SQL Database server to be updated. Specify only the server name, and not the fully qualified DNS name.</maml:para>
</maml:description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type>
<maml:name>String</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue></dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
<maml:name>Confirm</maml:name>
<maml:description>
<maml:para>Prompts you for confirmation before executing the command.</maml:para>
</maml:description>
<command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
<dev:type>
<maml:name>SwitchParameter</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue>false</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
<maml:name>WhatIf</maml:name>
<maml:description>
<maml:para>Describes what would happen if you executed the command without actually executing the command.</maml:para>
</maml:description>
<command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
<dev:type>
<maml:name>SwitchParameter</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue>false</dev:defaultValue>
</command:parameter>
</command:parameters>
<command:inputTypes>
<command:inputType>
<dev:type>
<maml:name></maml:name>
<maml:uri></maml:uri>
<maml:description>
<maml:para />
</maml:description>
</dev:type>
<maml:description>
<maml:para></maml:para>
</maml:description>
</command:inputType>
</command:inputTypes>
<command:returnValues>
<command:returnValue>
<dev:type>
<maml:name></maml:name>
<maml:uri></maml:uri>
<maml:description>
<maml:para />
</maml:description>
</dev:type>
<maml:description>
<maml:para></maml:para>
</maml:description>
</command:returnValue>
</command:returnValues>
<command:terminatingErrors />
<command:nonTerminatingErrors />
<command:examples>
<command:example>
<maml:title>--------------Example 1--------------</maml:title>
<maml:introduction>
<maml:para></maml:para>
</maml:introduction>
<dev:code>
PS C:\>Set-AzureSqlDatabaseServer –ServerName "lpqd0zbr8y" -AdminPassword "myNewP@ssword"
</dev:code>
<dev:remarks>
<maml:para>This command updates the administrator account password for the SQL Database server (“lpqd0zbr8y”) with the new password (“myNewP@ssword”).</maml:para>
</dev:remarks>
<command:commandLines>
<command:commandLine>
<command:commandText />
</command:commandLine>
</command:commandLines>
</command:example>
</command:examples>
<maml:relatedLinks>
<maml:navigationLink>
<maml:linkText>Get-AzureSqlDatabaseServer</maml:linkText>
<maml:uri />
</maml:navigationLink>
<maml:navigationLink>
<maml:linkText>New-AzureSqlDatabaseServer</maml:linkText>
<maml:uri />
</maml:navigationLink>
<maml:navigationLink>
<maml:linkText>Remove-AzureSqlDatabaseServer</maml:linkText>
<maml:uri />
</maml:navigationLink>
</maml:relatedLinks>
</command:command>
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
<command:details>
<command:name>Set-AzureSqlDatabaseServerFirewallRule</command:name>
<maml:description>
<maml:para>Updates the properties of an existing firewall rule in the specified SQL Database server.</maml:para>
</maml:description>
<maml:copyright>
<maml:para />
</maml:copyright>
<command:verb>Set</command:verb>
<command:noun>AzureSqlDatabaseServerFirewallRule</command:noun>
<dev:version />
</command:details>
<maml:description>
<maml:para>
The Set-AzureSqlDatabaseServerFirewallRule cmdlet updates the start IP address and end IP address values of an existing firewall rule in the specified SQL Database server.
</maml:para>
</maml:description>
<command:syntax>
<command:syntaxItem>
<maml:name>Set-AzureSqlDatabaseServerFirewallRule</maml:name>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases="">
<maml:name>ServerName</maml:name>
<maml:description>
<maml:para>
Name of the SQL Database server that contains the firewall rule to be updated. Specify only the server name, and not the fully qualified DNS name.
</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>Force</maml:name>
<maml:description>
<maml:para>
Allows the action to complete without prompting you for confirmation.
</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>EndIpAddress</maml:name>
<maml:description>
<maml:para>
The new end IP address value.
</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="">
<maml:name>RuleName</maml:name>
<maml:description>
<maml:para>
Name of the SQL Database firewall rule to be updated.
</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>StartIpAddress</maml:name>
<maml:description>
<maml:para>
The new start IP address value.
</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
<maml:name>Confirm</maml:name>
<maml:description>
<maml:para>Prompts you for confirmation before executing the command.</maml:para>
</maml:description>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
<maml:name>WhatIf</maml:name>
<maml:description>
<maml:para>Describes what would happen if you executed the command without actually executing the command.</maml:para>
</maml:description>
</command:parameter>
</command:syntaxItem>
</command:syntax>
<command:parameters>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>EndIpAddress</maml:name>
<maml:description>
<maml:para>
The new end IP address value.
</maml:para>
</maml:description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type>
<maml:name>String</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue></dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>Force</maml:name>
<maml:description>
<maml:para>
Allows the action to complete without prompting you for confirmation.
</maml:para>
</maml:description>
<command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
<dev:type>
<maml:name>SwitchParameter</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue></dev:defaultValue>
</command:parameter>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="">
<maml:name>RuleName</maml:name>
<maml:description>
<maml:para>
Name of the SQL Database firewall rule to be updated.
</maml:para>
</maml:description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type>
<maml:name>String</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue></dev:defaultValue>
</command:parameter>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases="">
<maml:name>ServerName</maml:name>
<maml:description>
<maml:para>
Name of the SQL Database server that contains the firewall rule to be updated. Specify only the server name, and not the fully qualified DNS name.
</maml:para>
</maml:description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type>
<maml:name>String</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue></dev:defaultValue>
</command:parameter>
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
<maml:name>StartIpAddress</maml:name>
<maml:description>
<maml:para>
The new start IP address value.
</maml:para>
</maml:description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type>
<maml:name>String</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue></dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
<maml:name>Confirm</maml:name>
<maml:description>
<maml:para>Prompts you for confirmation before executing the command.</maml:para>
</maml:description>
<command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
<dev:type>
<maml:name>SwitchParameter</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue>false</dev:defaultValue>
</command:parameter>
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
<maml:name>WhatIf</maml:name>
<maml:description>
<maml:para>Describes what would happen if you executed the command without actually executing the command.</maml:para>
</maml:description>
<command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
<dev:type>
<maml:name>SwitchParameter</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue>false</dev:defaultValue>
</command:parameter>
</command:parameters>
<command:inputTypes>
<command:inputType>
<dev:type>
<maml:name></maml:name>
<maml:uri></maml:uri>
<maml:description>
<maml:para />
</maml:description>
</dev:type>
<maml:description></maml:description>
</command:inputType>
</command:inputTypes>
<command:returnValues>
<command:returnValue>
<dev:type>
<maml:name></maml:name>
<maml:uri></maml:uri>
<maml:description>
<maml:para />
</maml:description>
</dev:type>
<maml:description></maml:description>
</command:returnValue>
</command:returnValues>
<command:terminatingErrors />
<command:nonTerminatingErrors />
<command:examples>
<command:example>
<maml:title>-------------- Example 1 --------------</maml:title>
<maml:introduction>
<maml:para></maml:para>
</maml:introduction>
<dev:code>
PS C:\> Set-AzureSqlDatabaseServerFirewallRule –ServerName "lpqd0zbr8y" -RuleName "myRule" –StartIpAddress 12.1.1.2 –EndIpAddress 12.1.1.4
</dev:code>
<dev:remarks>
<maml:para>
This command updates the start IP address and end IP address of the firewall rule (“myRule”) in the SQL Database server (“lpqd0zbr8y”).
</maml:para>
</dev:remarks>
<command:commandLines>
<command:commandLine>
<command:commandText />
</command:commandLine>
</command:commandLines>
</command:example>
</command:examples>
<maml:relatedLinks>
<maml:navigationLink>
<maml:linkText>Get-AzureSqlDatabaseServerFirewallRule</maml:linkText>
<maml:uri />
</maml:navigationLink>
<maml:navigationLink>
<maml:linkText>New-AzureSqlDatabaseServerFirewallRule</maml:linkText>
<maml:uri />
</maml:navigationLink>
<maml:navigationLink>
<maml:linkText>Remove-AzureSqlDatabaseServerFirewallRule</maml:linkText>
<maml:uri />
</maml:navigationLink>
</maml:relatedLinks>
</command:command>
</helpItems>