Get-VBRDiscoveredComputerConfigurationPolicy
Short Description
Returns current Veeam Agent settings.
Important |
Make sure to test this cmdlet in the lab before you run it in the production environment. |
Applies to
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides parameter sets that allow you to:
- Get the list of settings applied to discovered computers using a discovered computer.
Get-VBRDiscoveredComputerConfigurationPolicy -DiscoveredComputer <VBRDiscoveredComputer> [<CommonParameters>] |
- Get the list of settings applied to discovered computers using a protection group.
Get-VBRDiscoveredComputerConfigurationPolicy -ProtectionGroup <VBRProtectionGroup> [<CommonParameters>] |
- Get the list of settings applied to discovered computers using an ID of a configuration policy.
Get-VBRDiscoveredComputerConfigurationPolicy -Id <Guid> [<CommonParameters>] |
Detailed Description
This cmdlet returns the list of settings applied to discovered computers.
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
DiscoveredComputer | Specifies an array of discovered computers. The cmdlet will return the list of settings applied to these computers. | Accepts the VBRDiscoveredComputer[] type. | True | Named | True |
ProtectionGroup | Specifies an array of protection groups. This cmdlet will return the list of settings applied to computers from these protection groups. | Accepts the VBRProtectionGroup[] type. | True | Named | True |
Id | Specifies an ID of a configuration policy. | GUID | True | Named | True |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.
Output Object
VBRDiscoveredComputerConfigurationPolicy
Examples
Viewing Veeam Agent Settings for Protection Group
This example shows how to return settings applied to computers that are members of the BackupServers protection group.
$group = Get-VBRProtectionGroup -Name "BackupServers" Get-VBRDiscoveredComputerConfigurationPolicy -ProtectionGroup $group |
Perform the following steps:
- Run the Get-VBRProtectionGroup cmdlet. Specify the Name parameter value. Save the result to the $group variable.
- Run the Get-VBRDiscoveredComputerConfigurationPolicy cmdlet. Set the $group variable as the ProtectionGroup parameter value.
Related Commands