Get-DPMDatasourceProtectionOption

Get-DPMDatasourceProtectionOption

Returns protection options in a protection group.

Syntax

Parameter Set: E14Options
Get-DPMDatasourceProtectionOption [-ProtectionGroup] <ProtectionGroup> -E14Options [ <CommonParameters>]

Parameter Set: ExchangeOptions
Get-DPMDatasourceProtectionOption [-ProtectionGroup] <ProtectionGroup> -ExchangeOptions [ <CommonParameters>]

Parameter Set: FileSystem
Get-DPMDatasourceProtectionOption [-ProtectionGroup] <ProtectionGroup> -FileSystem [ <CommonParameters>]

Detailed Description

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

Parameters

-E14Options

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

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ExchangeOptions

Indicates that the cmdlet operates on Microsoft Exchange data sources.

Aliases

none

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.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ProtectionGroup<ProtectionGroup>

Specifies the name of a protection group.

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.

  • Datasource

Examples

Example 1: Get protection options from a server

This example gets protection options from a server.

The first command gets the protection groups from the server named DPMServer02, and stores the result in the $Pg variable.

The second command uses standard array notation to specify the first member of the $Pg array (stored in position 0 of the collection).

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

Set-DPMDatasourceProtectionOption