Get-AzureSqlServerUpgrade

Get-AzureSqlServerUpgrade

Gets the status of an Azure SQL Database server upgrade.

Syntax

Parameter Set: Default
Get-AzureSqlServerUpgrade [-ResourceGroupName] <String> -ServerName <String> [-Profile <AzureProfile> ] [ <CommonParameters>]

Detailed Description

The Get-AzureSqlServerUpgrade cmdlet gets the status of an Azure SQL Database server upgrade.

Parameters

-Profile<AzureProfile>

Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ResourceGroupName<String>

Specifies the name of the resource group that contains the server about which this cmdlet gets upgrade status.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

true(ByPropertyName)

Accept Wildcard Characters?

false

-ServerName<String>

Specifies the name of the server about which this cmdlet gets upgrade status.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

true(ByPropertyName)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see    about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Notes

  • This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters.

Examples

Example 1: Get the status of an upgrade

This command gets the status of an upgrade request from the server named Server02 in resource group named ResourceGroup11.

PS C:\> Get-AzureSqlServerUpgrade -ResourceGroupName "ResourceGroup11" -ServerName "Server02" | Format-List

Start-AzureSqlServerUpgrade

Stop-AzureSqlServerUpgrade