Get-DPMDatasourceProtectionOption

Returns protection options in a protection group.

Syntax

Get-DPMDatasourceProtectionOption [-ProtectionGroup] <ProtectionGroup> [-E14Options] [<CommonParameters>]
Get-DPMDatasourceProtectionOption [-ProtectionGroup] <ProtectionGroup> [-ExchangeOptions] [<CommonParameters>]
Get-DPMDatasourceProtectionOption [-ProtectionGroup] <ProtectionGroup> [-FileSystem] [<CommonParameters>]

Description

The Get-DPMDatasourceProtectionOption cmdlet returns protection options for data sources in a System Center 2016 - Data Protection Manager (DPM) protection group. Specify the type of data source in the protection group for which the cmdlet returns the protection options.

Examples

Example 1: Get protection options from a server

PS C:\> $PGroup = Get-DPMProtectionGroup -DPMServerName "DPMServer02"
PS C:\> Get-DPMDatasourceProtectionOption -ProtectionGroup $PGroup[0] -FileSystem

The first command gets the protection groups from the server named DPMServer02, and then stores those groups in the $PGroup variable.

The second command gets the protection options for a protection group. The command uses standard array notation to specify the first member of the $PGroup array.

Parameters

-E14Options

Indicates that the cmdlet operates on a Microsoft Exchange Server 2010 data sources.

Type:SwitchParameter
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ExchangeOptions

Indicates that this cmdlet operates on Exchange Server data sources.

Type:SwitchParameter
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-FileSystem

Indicates that the cmdlet operates on file system data sources.

Type:SwitchParameter
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ProtectionGroup

Specifies a protection group for which this cmdlet returns options. To obtain a ProtectionGroup object, use the Get-DPMProtectionGroup cmdlet.

Type:ProtectionGroup
Required:True
Position:1
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False

Outputs

Datasource