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
 

Get-AzureSqlDatabaseServer

Get-AzureSqlDatabaseServer

microsoft.windowsazure.commands.sqldatabase.dll

Synopsis

Returns information about the Azure SQL Database Servers in the current subscription.

Syntax

Get-AzureSqlDatabaseServer [-ServerName] [<CommonParameters>]

Detailed Description

If a SQL Database Server name is specified in the ServerName parameter, the cmdlet returns an object with information about the specific SQL Database Server. Otherwise, it returns information about all the SQL Database Servers.

Parameters

-ServerName <String>

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.

Aliases

None

Required?

false

Position

0

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

Input Type

Microsoft.WindowsAzure.Commands.SqlDatabase.Model.SqlDatabaseServerContext

Return Type

IEnumerable<Microsoft.WindowsAzure.Commands.SqlDatabase.Model.SqlDatabaseServerContext>

Notes

Examples

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

This command returns information about all of the SQL Database Servers in the current subscription.

PS C:\> Get-AzureSqlDatabaseServer

-------------------------- Example 2 --------------------------

This command returns information about the “lpqd0zbr8y” server.

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

New-AzureSqlDatabaseServer
Remove-AzureSqlDatabaseServer
Set-AzureSqlDatabaseServer