Remove-DPMRecoveryItem

Remove-DPMRecoveryItem

Allows you to remove a recovery item from the list that a DPM role could recover.

Syntax

Remove-DPMRecoveryItem [-Datasources] <SQLDataSource> [-Type] <AmDatasourceType> [-DpmRole] <DPMRole> [<CommonParameters>]


Remove-DPMRecoveryItem [-SqlInstances] <String> [-Type] <AmDatasourceType> [-DpmRole] <DPMRole> [<CommonParameters>]


Remove-DPMRecoveryItem [-All] <SwitchParameter> [-Type] <AmDatasourceType> [-DpmRole] <DPMRole> [<CommonParameters>]

Detailed Description

The Remove-DPMRecoveryItem cmdlet allows you to remove a recovery item from the list that a DPM role could recover.

You must provide the name of at least one SQL instance even if you are using the –All parameter.

Parameters

-Type

Indicates whether you are providing a SQL Server instance or SQL Server database to the cmdlet.

Attributes

Name Value

Required?

true

Accept wildcard characters?

false

Accept Pipeline Input?

false

Position?

1

-Datasources

The SQL Server databases that you want to add or remove from the DPM role.

Attributes

Name Value

Required?

true

Accept wildcard characters?

false

Accept Pipeline Input?

false

Position?

2

-All

Will affect all objects that the cmdlet refers to.

Attributes

Name Value

Required?

true

Accept wildcard characters?

false

Accept Pipeline Input?

false

Position?

2

-SqlInstances

The SQL Server instances that you want to enable end-user recovery on.

Attributes

Name Value

Required?

true

Accept wildcard characters?

false

Accept Pipeline Input?

false

Position?

2

-DpmRole

The DPM role for SQL Server end-user recovery.

Attributes

Name Value

Required?

true

Accept wildcard characters?

false

Accept Pipeline Input?

false

Position?

0

-CommonParameter

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

Input and Return Types

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

Notes

  • For more information, type "Get-Help Remove-DPMRecoveryItem -detailed".
    For technical information, type "Get-Help Remove-DPMRecoveryItem -full".

    Additionally, any updated information about the cmdlet will be available at https://go.microsoft.com/fwlink/?LinkId=95130.

Examples