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. 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 a Microsoft 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 this cmdlet operates on Exchange Server 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 a protection group for which this cmdlet returns options. To obtain a ProtectionGroup object, use the Get-DPMProtectionGroup cmdlet.
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
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.
PS C:\> $PGroup = Get-DPMProtectionGroup -DPMServerName "DPMServer02"
PS C:\> Get-DPMDatasourceProtectionOption -ProtectionGroup $PGroup[0] -FileSystem