Add-DPMRecoveryItem

Adds a DPM recovery item.

Syntax

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

Description

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

Parameters

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

Prompts you for confirmation before running the cmdlet.

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