< Back

Stop-AzureRmSqlServerUpgrade

Tue Jan 29, 2019 10:11 pm

NAME Stop-AzureRmSqlServerUpgrade



SYNOPSIS

Stops the upgrade of a SQL Database server.





SYNTAX

Stop-AzureRmSqlServerUpgrade [-ResourceGroupName] <String> [-DefaultProfile <IAzureContextContainer>] [-Force] -ServerName <String> [-Confirm]

[-WhatIf] [<CommonParameters>]





DESCRIPTION

The Stop-AzureRmSqlServerUpgrade cmdlet stops the upgrade of an Azure SQL Database server.





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



-Force [<SwitchParameter>]

Forces the command to run without asking for user confirmation.



Required? false

Position? named

Default value False

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 stops an upgrade.



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

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







OUTPUTS



NOTES









Example 1: Stop a server upgrade



PS C:\\>Stop-AzureRmSqlServerUpgrade -ResourceGroupName "ResourceGroup01" -ServerName "Server02"



This command stops the request to upgrade the server named Server02 assigned to the resource group named ResourceGroup01.







RELATED LINKS

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

Get-AzureRmSqlServerUpgrade

Start-AzureRmSqlServerUpgrade

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