Help Center
Choose product document...
Veeam Backup & Replication 9.5 [Archived]
PowerShell Reference

Get-VBRDiscoveredComputer

Short Description

Returns discovered computers.

Applies to

Product Edition: Standard, Enterprise, Enterprise Plus

Requires Veeam Agent for Microsoft Windows/Veeam Agent for Linux 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 about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

Return Type

VBRDiscoveredComputer[]

Example 1

This command returns discovered computers of all protection groups.

PS C:\PS> 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.

PS C:\PS> $group = Get-VBRProtectionGroup -Name "Support_East"

PS C:\PS> 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.

PS C:\PS> $groups = Get-VBRProtectionGroup -Name "Support_East", "Support_North"

PS C:\PS> Get-VBRDiscoveredComputer -Type ActiveDirectory -ProtectionGroup $groups

Related Commands

Get-VBRProtectionGroup

Rescan-VBREntity

Veeam Large Logo

User Guide for VMware vSphere

User Guide for Microsoft Hyper-V

Enterprise Manager User Guide

Veeam Cloud Connect Guide

Veeam Agent Management Guide

Veeam Backup Explorers User Guide

Backup and Restore of SQL Server Databases

PowerShell Reference

RESTful API Reference

Veeam Backup FREE Edition User Guide