Get-AzSqlServer PowerShell Module

The Get-AzSqlServer cmdlet retrieves information about Azure SQL Servers.

Synopsis

Get-AzSqlServer <ServerName> -ResourceGroupName <ResourceGroupName>

Usage

This cmdlet retrieves information about a specified Azure SQL Server. It requires the server name and the resource group name to identify the server.

Example

Get-AzSqlServer -ServerName "my-sql-server" -ResourceGroupName "my-resource-group"

This example retrieves information about a SQL Server named "my-sql-server" located in the resource group named "my-resource-group".

Parameters

Properties Returned

Name
ServerFaultUrl
ServiceFabricInfo
ServicePrincipal

The cmdlet returns a set of properties about the SQL Server. The properties returned can vary depending on the configuration of the server and the available modules.