This is an archive version of the document. To get the most up-to-date information, see the current version.

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
Pipeline
Input

Accept
Wildcard
Characters

Type

Specifies the array types:

  • Computer: standalone computers
  • Cluster: computers that are part of a cluster
  • ActiveDirectory: Active Directory computers

The cmdlet will return discovered computers of these types.

False

Named

True (ByProperty
Name)

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,
ByProperty
Name)

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

VBRDiscoveredComputer[]

Example 1

This command returns discovered computers of all protection groups.

Get-VBRDiscoveredComputer

Example 2

This example shows how to get discovered computers of a selected protection group.

You will need to perform the following steps:

  1. Run Get-VBRProtectionGroup to get the protection group. Save the result to the $group variable.
  2. 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:

  1. Run Get-VBRProtectionGroup to get the protection groups. Save the result to the $groups variable.
  2. 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

Get-VBRProtectionGroup

Rescan-VBREntity