Get-VBRDiscoveredComputer
Short Description
Returns discovered computers.
Applies to
Product Edition: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides 2 parameter sets.
- For getting discovered computers from all protection groups:
Get-VBRDiscoveredComputer [-Type <VBRDiscoveredEntityType[]> {Computer | Cluster | ActiveDirectory}] [<CommonParameters>] |
- For getting discovered computers from selected protection groups:
Get-VBRDiscoveredComputer [-ProtectionGroup <VBRProtectionGroup[]>] [-Type <VBRDiscoveredEntityType[]> {Computer | Cluster | ActiveDirectory}] [<CommonParameters>] |
Detailed Description
This cmdlet returns discovered computers from all protection groups or from selected protection groups. Use an appropriate parameter set for each case.
Veeam Backup & Replication regularly performs discovery operations for computers in a protection group. During a discovery operation, Veeam Backup & Replication connects to computers and gathers information about them. After the discovery operation is complete, Veeam Backup & Replication recognizes processed computers as discovered.
Parameters
Parameter | Description | Required | Position | Accept | Accept |
---|---|---|---|---|---|
Type | Specifies the array types:
The cmdlet will return discovered computers of these types. | False | Named | True (ByProperty | False |
ProtectionGroup | Specifies the array of protection groups. The cmdlet will look for discovered computers in these groups. Accepts VBRProtectionGroup type. | False | Named | True (ByValue, | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.
Return Type
Example 1
This command returns discovered computers of all protection groups.
Example 2
This example shows how to get discovered computers of a selected protection group.
You will need to perform the following steps:
- Run Get-VBRProtectionGroup to get the protection group. Save the result to the $group variable.
- Run Get-VBRDiscoveredComputer with the $group variable.
$group = Get-VBRProtectionGroup -Name "Support_East" Get-VBRDiscoveredComputer -ProtectionGroup $group |
Example 3
This example shows how to get Active Directory discovered computers of several protection groups.
You will need to perform the following steps:
- Run Get-VBRProtectionGroup to get the protection groups. Save the result to the $groups variable.
- Run Get-VBRDiscoveredComputer with the $groups variable and the Type parameter.
$groups = Get-VBRProtectionGroup -Name "Support_East", "Support_North" Get-VBRDiscoveredComputer -Type ActiveDirectory -ProtectionGroup $groups |
Related Commands