Get-DPMProtectionGroup
Get-DPMProtectionGroup
Gets the list of protection groups on the DPM server.
Syntax
Parameter Set: Default
Get-DPMProtectionGroup [[-DPMServerName] <String> ] [-Async] [ <CommonParameters>]
Detailed Description
The Get-DPMProtectionGroup cmdlet gets the list of protection groups on the System Center 2012 – Data Protection Manager (DPM) server. A protection group that this cmdlet gets is not modifiable. To modify a protection group, you must follow this cmdlet with the Get-DPMModifiableProtectionGroup cmdlet.
Parameters
-Async
Indicates that the command runs asynchronously. When you run a command asynchronously, the command prompt returns immediately even if the job takes an extended time to finish.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-DPMServerName<String>
Specifies the name of a DPM server. If you do not specify a name, the cmdlet uses the current computer name.
Aliases |
ComputerName,CN |
Required? |
false |
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.
Notes
- For more information, type "
Get-Help Get-DPMProtectionGroup -detailed
".
Examples
Example 1: Get a protection group
This command gets the protection group on the DPM server named DPMServer02.
PS C:\> Get-DPMProtectionGroup -DPMServerName "DPMServer02"