Get-DPMTapeBackupOption
Retrieves library, drive, and other backup or archive options for a protection group.
Syntax
Default (Default)
Get-DPMTapeBackupOption
[-ProtectionGroup] <ProtectionGroup>
[<CommonParameters>]
Description
The Get-DPMTapeBackupOption cmdlet retrieves library, drive, and other backup or archive options for a System Center - Data Protection Manager (DPM) protection group.
Examples
Example 1: Retrieve tape backup options
PS C:\>$PGroup = Get-DPMProtectionGroup -DPMServerName "Contoso-DPMServer"
PS C:\> Get-DPMTapeBackupOption -ProtectionGroup $PGroup
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.
Parameters
-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.
Parameter properties
Type: | ProtectionGroup |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | 1 |
Mandatory: | True |
Value from pipeline: | True |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.