Add-DPMRecoveryItem

Adds a DPM recovery item.

Syntax

Add-DPMRecoveryItem
   [-DpmRole] <DpmRole>
   [-Type] <AmDatasourceType>
   [-SqlInstances] <String[]>
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Add-DPMRecoveryItem
   [-DpmRole] <DpmRole>
   [-Type] <AmDatasourceType>
   [-Datasources] <SQLDataSource[]>
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

The Add-DPMRecoveryItem cmdlet adds a recovery item to a System Center - Data Protection Manager (DPM) server.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Datasources

Type:SQLDataSource[]
Position:3
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-DpmRole

Specifies a DPM role that this cmdlet modifies. To obtain a DPM role object, use the Get-DPMRole cmdlet.

Type:DpmRole
Position:1
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-SqlInstances

Type:String[]
Position:3
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Type

Specifies an array of DPM job types.

Type:AmDatasourceType
Accepted values:SqlDatabase, SqlInstance
Position:2
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False