Get-DPMTapeBackupOption

Get-DPMTapeBackupOption

Retrieves library, drive, and other backup or archive options for a protection group.

Syntax

Parameter Set: Default
Get-DPMTapeBackupOption [-ProtectionGroup] <ProtectionGroup> [ <CommonParameters>]

Detailed Description

The Get-DPMTapeBackupOption cmdlet retrieves library, drive, and other backup or archive options for a System Center 2012 – Data Protection Manager (DPM) protection group.

Parameters

-ProtectionGroup<ProtectionGroup>

Specifies a protection group for which this cmdlet gets options. To obtain a ProtectionGroup object, use the Get-DPMProtectionGroup cmdlet. A protection group consists of data sources, such as volumes or shares, that have a common protection configuration and schedule.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

  • ProtectionGroup

Examples

Example 1: Retrieve tape backup options

The first command uses the Get-DPMProtectionGroup cmdlet to get the protection group for the server named Contoso-DPMServer. The command stores the group in the $PGroup variable.

The second command gets the settings for the group in $PGroup.

PS C:\> $PGroup = Get-DPMProtectionGroup -DPMServerName "Contoso-DPMServer"
PS C:\> Get-DPMTapeBackupOption -ProtectionGroup $PGroup

Get-DPMProtectionGroup

Set-DPMTapeBackupOption