Add-DPMRecoveryItem

Add-DPMRecoveryItem

Allows you to identify the recoverable items that members of a DPM role can recover.

Syntax

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


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

Detailed Description

The Add-DPMRecoveryItem cmdlet allows you to identify the recoverable items that members of a DPM role can recover.

Parameters

-Type

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

Attributes

Name Value

Required?

true

Accept wildcard characters?

false

Accept Pipeline Input?

false

Position?

1

-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

-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

-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

-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 Add-DPMRecoveryItem -detailed".
    For technical information, type "Get-Help Add-DPMRecoveryItem -full".

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

Examples