< Back

Remove-AzureRmSqlElasticPool

Tue Jan 29, 2019 10:09 pm

NAME Remove-AzureRmSqlElasticPool



SYNOPSIS

Deletes an elastic database pool.





SYNTAX

Remove-AzureRmSqlElasticPool [-ResourceGroupName] <String> [-ServerName] <String> [-ElasticPoolName] <String> [-DefaultProfile

<IAzureContextContainer>] [-Force] [-Confirm] [-WhatIf] [<CommonParameters>]





DESCRIPTION

The Remove-AzureRmSqlElasticPool cmdlet deletes an Azure SQL Database elastic pool.





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



-ElasticPoolName <String>

Specifies the name of the elastic pool that this cmdlet deletes.



Required? true

Position? 2

Default value None

Accept pipeline input? True (ByPropertyName)

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 elastic pool 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 that hosts the elastic pool.



Required? true

Position? 1

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.ElasticPool.Model.AzureSqlElasticPoolModel







OUTPUTS

Microsoft.Azure.Commands.Sql.ElasticPool.Model.AzureSqlElasticPoolModel







NOTES









Example 1: Delete an elastic pool



PS C:\\>Remove-AzureRmSqlElasticPool -ResourceGroupName "ResourceGroup01" -ServerName "Server01" -ElasticPoolName "ElasticPool01"



This command deletes an elastic pool named ElasticPool01.







RELATED LINKS

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

Get-AzureRmSqlElasticPool

Get-AzureRmSqlElasticPoolActivity

Get-AzureRmSqlElasticPoolDatabase

New-AzureRmSqlElasticPool

Set-AzureRmSqlElasticPool

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