Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Remove-AzureSqlDatabaseServer

Remove-AzureSqlDatabaseServer

microsoft.windowsazure.commands.sqldatabase.dll

Synopsis

Deletes the specified Azure SQL Database Server from the current subscription.

Syntax

Remove-AzureSqlDatabaseServer [-ServerName] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]

Detailed Description

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.

Parameters

-ServerName <String>

The SQL Database Server name to be deleted. Specify only the server name, and not the fully qualified DNS name.

Aliases

None

Required?

true

Position

0

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-Force <SwitchParameter>

Allows the action to complete without prompting you for confirmation.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-WhatIf <SwitchParameter>

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Aliases

None

Required?

false

Position

named

Default value

false

Accept pipeline input?

false

Accept wildcard characters?

false

-Confirm <SwitchParameter>

Prompts you for confirmation before running the cmdlet.

Aliases

None

Required?

false

Position

named

Default value

false

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type

Microsoft.WindowsAzure.Commands.SqlDatabase.Model.SqlDatabaseServerContext

Return Type


Notes

Examples

-------------------------- Example 1 --------------------------

This command deletes the specified SQL Database Server (“lpqd0zbr8y”).

PS C:\> Remove-AzureSqlDatabaseServer -ServerName "lpqd0zbr8y"

Get-AzureSqlDatabaseServer
New-AzureSqlDatabaseServer
Set-AzureSqlDatabaseServer