Get-DPMRecoveryTarget

Get-DPMRecoveryTarget

Retrieves the recovery target for the specified role.

Syntax

Get-DPMRecoveryTarget [-Type] <AmDatasourceType> [-DpmRole] <DPMRole> [<CommonParameters>]

Detailed Description

The Get-DPMRecoveryTarget cmdlet retrieves the recovery target for the specified role.

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

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

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

Examples