< Back
Remove-AzureRmSqlDatabaseRestorePoint
Post
NAME Remove-AzureRmSqlDatabaseRestorePoint
SYNOPSIS
Removes given restore point from a SQL Database.
SYNTAX
Remove-AzureRmSqlDatabaseRestorePoint [-ResourceGroupName] <String> [-ServerName] <String> [-DatabaseName] <String> [-DefaultProfile
<IAzureContextContainer>] -RestorePointCreationDate <DateTime> [-Confirm] [-WhatIf] [<CommonParameters>]
DESCRIPTION
The Remove-AzureRmSqlDatabaseRestorePoint cmdlet removes given restore point from Azure SQL Database.
This cmdlet is currently supported by the SQL Server Datawarehouse service on Azure SQL Database.
PARAMETERS
-DatabaseName <String>
Specifies the name of the SQL Database.
Required? true
Position? 2
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-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 SQL Database is assigned.
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-RestorePointCreationDate <DateTime>
Specifies the restore point creation date.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-ServerName <String>
Specifies the name of the AzureSQL Server that hosts the database.
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
OUTPUTS
NOTES
Example 1: Removes a restore point
PS C:\\>$RestorePointCreationDate = Get-Date "3/11/2017 1:50:00 AM"
PS C:\\>Remove-AzureRmSqlDatabaseRestorePoint -ResourceGroupName "ResourceGroup01" -ServerName "Server01" -DatabaseName "Database01"
-RestorePointCreationDate $RestorePointCreationDate
This command removes a restore point for Azure SQL Database given creation date.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... storepoint
SYNOPSIS
Removes given restore point from a SQL Database.
SYNTAX
Remove-AzureRmSqlDatabaseRestorePoint [-ResourceGroupName] <String> [-ServerName] <String> [-DatabaseName] <String> [-DefaultProfile
<IAzureContextContainer>] -RestorePointCreationDate <DateTime> [-Confirm] [-WhatIf] [<CommonParameters>]
DESCRIPTION
The Remove-AzureRmSqlDatabaseRestorePoint cmdlet removes given restore point from Azure SQL Database.
This cmdlet is currently supported by the SQL Server Datawarehouse service on Azure SQL Database.
PARAMETERS
-DatabaseName <String>
Specifies the name of the SQL Database.
Required? true
Position? 2
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-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 SQL Database is assigned.
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-RestorePointCreationDate <DateTime>
Specifies the restore point creation date.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-ServerName <String>
Specifies the name of the AzureSQL Server that hosts the database.
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
OUTPUTS
NOTES
Example 1: Removes a restore point
PS C:\\>$RestorePointCreationDate = Get-Date "3/11/2017 1:50:00 AM"
PS C:\\>Remove-AzureRmSqlDatabaseRestorePoint -ResourceGroupName "ResourceGroup01" -ServerName "Server01" -DatabaseName "Database01"
-RestorePointCreationDate $RestorePointCreationDate
This command removes a restore point for Azure SQL Database given creation date.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... storepoint