Get-DPMDatasourceProtectionOption
Returns protection options in a protection group.
Syntax
ExchangeOptions
Get-DPMDatasourceProtectionOption
[-ProtectionGroup] <ProtectionGroup>
[-ExchangeOptions]
[<CommonParameters>]
E14Options
Get-DPMDatasourceProtectionOption
[-ProtectionGroup] <ProtectionGroup>
[-E14Options]
[<CommonParameters>]
FileSystem
Get-DPMDatasourceProtectionOption
[-ProtectionGroup] <ProtectionGroup>
[-FileSystem]
[<CommonParameters>]
Description
The Get-DPMDatasourceProtectionOption cmdlet returns protection options for data sources in a System Center - 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.
Parameter properties
| Type: | SwitchParameter |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
E14Options
| Position: | Named |
| Mandatory: | True |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-ExchangeOptions
Indicates that this cmdlet operates on Exchange Server data sources.
Parameter properties
| Type: | SwitchParameter |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
ExchangeOptions
| Position: | Named |
| Mandatory: | True |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-FileSystem
Indicates that the cmdlet operates on file system data sources.
Parameter properties
| Type: | SwitchParameter |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
FileSystem
| Position: | Named |
| Mandatory: | True |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-ProtectionGroup
Specifies a protection group for which this cmdlet returns options. To obtain a ProtectionGroup object, use the Get-DPMProtectionGroup cmdlet.
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.