< Back

Get-AzureRmSqlServerUpgrade

Tue Jan 29, 2019 10:09 pm

NAME Get-AzureRmSqlServerUpgrade



SYNOPSIS

Gets the status of an Azure SQL Database server upgrade.





SYNTAX

Get-AzureRmSqlServerUpgrade [-ResourceGroupName] <String> [-DefaultProfile <IAzureContextContainer>] -ServerName <String> [-Confirm] [-WhatIf]

[<CommonParameters>]





DESCRIPTION

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





PARAMETERS

-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-ResourceGroupName <String>

Specifies the name of the resource group to which the server is assigned.



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ServerName <String>

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



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Confirm [<SwitchParameter>]

Prompts you for confirmation before running the cmdlet.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]

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



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None

This cmdlet does not accept any input.





OUTPUTS

Microsoft.Azure.Commands.Sql.ServerUpgrade.Model.AzureSqlServerUpgradeModel







NOTES









Example 1: Get the status of an upgrade



PS C:\\>Get-AzureRmSqlServerUpgrade -ResourceGroupName "ResourceGroup01" -ServerName "Server01" | Format-List

ResourceGroupName : resourcegroup01

ServerName : server01

Status : Queued



This command gets the status of an upgrade from the server named Server01 in resource group named ResourceGroup01.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... verupgrade

Start-AzureRmSqlServerUpgrade

Stop-AzureRmSqlServerUpgrade

SQL Database Documentation https://docs.microsoft.com/azure/sql-database/