Get-DPMProtectionGroup
Gets the protection groups on a DPM server.
Syntax
Default (Default)
Get-DPMProtectionGroup
[[-DPMServerName] <String>]
[-Async]
[<CommonParameters>]
Description
The Get-DPMProtectionGroup cmdlet gets the protection groups on a System Center 2016 - Data Protection Manager (DPM) server. You cannot modify a protection group that this cmdlet gets. To modify a protection group, run the Get-DPMModifiableProtectionGroup cmdlet.
Examples
Example 1: Get a protection group
PS C:\> Get-DPMProtectionGroup -DPMServerName "DPMServer02"
This command gets the protection group on the DPM server named DPMServer02.
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.
Parameter properties
Type: | SwitchParameter |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-DPMServerName
Specifies the name of a DPM server for which this cmdlet gets protection groups. If you do not specify a name, the cmdlet uses the current computer name.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Aliases: | ComputerName, CN |
Parameter sets
(All)
Position: | 1 |
Mandatory: | False |
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.