Enable-VBRProtectionGroup
Short Description
Enables automatic discovery for the protection group computers.
Product Edition: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Enable-VBRProtectionGroup -ProtectionGroup <VBRProtectionGroup[]> [-WhatIf] [-Confirm] [<CommonParameters>] |
Detailed Description
This cmdlet enables automatic discovery for selected protection groups. Automatic discovery is performed per discovery schedule configured for the protection group.
Run the Disable-VBRProtectionGroupDisables automatic discovery for the protection group computers. cmdlet to disable automatic discovery.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
ProtectionGroup |
Specifies the array of protection groups. The cmdlet will enable automatic discovery for these protection groups.
Accepts the |
True |
Named |
True (ByPropertyName, ByValue) |
|
|
Confirm |
Defines whether the cmdlet displays a prompt that asks if the user is sure that they want to continue. |
|
False |
Named |
False |
|
WhatIf |
Defines whether the cmdlet writes a message that describes the effects of running the cmdlet without actually performing any action. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Examples
Enabling Automatic Discovery for Computers of Protection Group
This example shows how to enable automatic discovery for the computers of the protection group.
|
$group = Get-VBRProtectionGroup -Name "East Computers" Enable-VBRProtectionGroup -ProtectionGroup $group |
Perform the following steps:
- Run the
Get-VBRProtectionGroupReturns protection groups. cmdlet. Specify theNameparameter value. Save the result to the$groupvariable. - Run the
Enable-VBRProtectionGroupcmdlet. Set the$groupvariable as theProtectionGroupparameter value.
Related Commands
Get-VBRProtectionGroupReturns protection groups.Disable-VBRProtectionGroupDisables automatic discovery for the protection group computers.