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 2016 - Data Protection Manager (DPM) server.

Required Parameters

-Datasources
Type:SQLDataSource[]
Position:3
Default value:None
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
Accept pipeline input:False
Accept wildcard characters:False
-SqlInstances
Type:String[]
Position:3
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Type

Specifies an array of DPM job types.

Type:AmDatasourceType
Parameter Sets:SqlDatabase, SqlInstance
Position:2
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
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
Accept pipeline input:False
Accept wildcard characters:False