Get-DPMModifiableProtectionGroup
Updated: January 14, 2013
Applies To: System Center 2012 - Data Protection Manager
Get-DPMModifiableProtectionGroup
Syntax
Parameter Set: Default Get-DPMModifiableProtectionGroup [-ProtectionGroup] <ProtectionGroup> [ <CommonParameters>]
Detailed Description
The Get-DPMModifiableProtectionGroup cmdlet retrieves a protection group in an editable mode since the protection group object returned by Get-ProtectionGroup is not editable.
Once you have carried out the changes to the protection group, you must save the changes using the Set-ProtectionGroup cmdlet.
The sequence of steps when working with a modifiable protection group are:
Get-ProtectionGroup
Get-DPMModifiableProtectionGroup
<Perform actions on the protection group>
Set-ProtectionGroup
Parameters
-ProtectionGroup<ProtectionGroup>
Provide 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.
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.
- ProtectionGroup (Editable)
Notes
-
For more information, type "Get-Help Get-DPMModifiableProtectionGroup -detailed".
For technical information, type "Get-Help Get-DPMModifiableProtectionGroup -full".
Examples
EXAMPLE 1
This command returns the protection group in a modifiable state.
PS C:\>$pg = Get-ProtectionGroup -DPMServerName TestingServerGet-DPMModifiableProtectionGroup -ProtectionGroup $pg
