Get-VBRProtectionGroup
Short Description
Returns protection groups.
Applies to
Product Edition: Community, Standard, Enterprise, Enterprise Plus
Syntax
This cmdlet provides 5 parameter sets.
- For getting all protection groups:
- For getting protection groups by ID:
- For getting protection groups by name:
- For getting protection groups by type (Custom/ManuallyAdded):
Get-VBRProtectionGroup [-Type <VBRProtectionGroupType[]> {Custom | ManuallyAdded}] [<CommonParameters>] |
- For getting protection groups by protection scope (IndividualComputers/ActiveDirectory/CSV):
Get-VBRProtectionGroup [-ContainerType <VBRProtectionGroupContainerType[]> {IndividualComputers | ActiveDirectory | CSV}] [<CommonParameters>] |
Detailed Description
This cmdlet returns protection groups.
You can get all protection groups or search for instances directly by name, ID, type or protection scope. Use an appropriate parameter set for each case.
Parameters
Parameter | Description | Required | Position | Accept | Accept |
Id | Specifies the array of protection group IDs. The cmdlet will return protection groups with these IDs. | False | Named | True (ByValue, | False |
Name | Specifies the array of protection group names. The cmdlet will return protection groups with these names. | False | Named | True (ByProperty | True |
Type | Specifies protection group types:
The cmdlet will return protection groups of these types. | False | Named | True (ByProperty | False |
ContainerType | Specifies the array of protection scope types:
The cmdlet will return protection groups created for these protection scope types. | False | Named | True (ByProperty | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.
Return Type
Example 1
This command returns all protection groups added to Veeam Backup & Replication.
Example 2
This command returns protection groups by ID.
Get-VBRProtectionGroup -Id 4022509c-3308-4883-b166-118bdf7480ea, 730dc485-84c2-4a9d-86e7-2e35d1d5a0be |
Example 3
This command returns protection groups created for the scope of Active Directory objects.