Поделиться через


Get-DPMProtectionGroup

Get-DPMProtectionGroup

Gets the protection groups on a DPM server.

Syntax

Parameter Set: Default
Get-DPMProtectionGroup [[-DPMServerName] <String> ] [-Async] [ <CommonParameters>]

Detailed Description

The Get-DPMProtectionGroup cmdlet gets the protection groups on a System Center 2012 – 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.

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 for which this cmdlet gets protection groups. 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.

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"

Set-DPMProtectionGroup

New-DPMProtectionGroup

Rename-DPMProtectionGroup

Update-DPMProtectionGroup

Get-DPMModifiableProtectionGroup