Get-AzureSqlDatabaseServer
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Get-AzureSqlDatabaseServer
Returns information about the Windows Azure SQL Database Servers in the current subscription.
Syntax
Parameter Set: Default
Get-AzureSqlDatabaseServer [[-ServerName] <String> ] [ <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? |
1 |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
- Microsoft.WindowsAzure.Management.SqlDatabase.Model.SqlDatabaseServerContext
Outputs
The output type is the type of the objects that the cmdlet emits.
- IEnumerable<Microsoft.WindowsAzure.Management.SqlDatabase.Model.SqlDatabaseServerContext>
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"