Get-VBRDiscoveredComputer

Short Description

Returns discovered computers.

Applies to

Product Edition: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License

Syntax

This cmdlet provides parameter sets that allow you to:

  • Get discovered computers from all protection groups.

Get-VBRDiscoveredComputer [-Type <VBRDiscoveredEntityType[]> {Computer | Cluster | ActiveDirectory}]  [<CommonParameters>]

  • Get 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

Type

Required

Position

Accept
Pipeline
Input

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.

VBRDiscoveredEntityType[]

False

Named

True (ByProperty
Name)

ProtectionGroup

Specifies the array of protection groups. The cmdlet will look for discovered computers in these groups.

Accepts the VBRProtectionGroup object. To get this object, run the Get-VBRProtectionGroup cmdlet.

False

Named

True (ByValue,
ByProperty
Name)

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.

Output Object

VBRDiscoveredComputer[]

Examples

Get-VBRDiscoveredComputerExample 1. Getting Discovered Computers of All Protection Groups

This command returns discovered computers of all protection groups.

Get-VBRDiscoveredComputer

Get-VBRDiscoveredComputerExample 2. Getting Discovered Computers of Selected Protection Group

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

$group = Get-VBRProtectionGroup -Name "Support_East"

Get-VBRDiscoveredComputer -ProtectionGroup $group

Perform the following steps:

  1. Run the Get-VBRProtectionGroup cmdlet. Specify the Name parameter value. Save the result to the $group variable.
  2. Run the Get-VBRDiscoveredComputer cmdlet. Set the $group variable as the ProtectionGroup parameter value.

Get-VBRDiscoveredComputerExample 3. Getting Active Directory Discovered Computers of Several Protection Groups

This example shows how to get Active Directory discovered computers of several protection groups.

$groups = Get-VBRProtectionGroup -Name "Support_East", "Support_North"

Get-VBRDiscoveredComputer -Type ActiveDirectory -ProtectionGroup $groups

Perform the following steps:

  1. Run the Get-VBRProtectionGroup cmdlet. Specify the Name parameter value. Save the result to the $groups variable.
  2. Run the Get-VBRDiscoveredComputer cmdlet. Set the ActiveDirectory option for the Type parameter. Set the $groups variable as the ProtectionGroup parameter value.

Related Commands