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

Install-VBRDiscoveredComputerAgent

Short Description

Installs Veeam Agents on discovered computers.

Applies to

Product Edition: Standard, Enterprise, Enterprise Plus

Requires Veeam Agent for Microsoft Windows/Veeam Agent for Linux license

Syntax

Install-VBRDiscoveredComputerAgent -DiscoveredComputer <VBRDiscoveredComputer[]> [-WhatIf] [-Confirm] [<CommonParameters>]

Detailed Description

This cmdlet installs Veeam Agents on discovered computers.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Discovered
Computer

Specifies the array of discovered computers. The cmdlet will install Veeam Agents on these computers.

Accepts VBRDiscoveredComputer[] type.

True

Named

True (ByValue,
ByProperty
Name)

False

WhatIf

Specifies whether the cmdlet writes a message that describes the effects of running the cmdlet without actually performing any action.

False

Named

False

False

Confirm

Specifies whether the cmdlet displays a prompt that asks if the user is sure that they want to continue.

False

Named

False

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

VBRSession

Example 1

This example shows how to install Veeam Agents on 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 to get the discovered computers of the protection group. Save the result to the $computers variable.
  3. Run Install-VBRDiscoveredComputerAgent with the $computers variable.

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

PS C:\PS> $computers = Get-VBRDiscoveredComputer -ProtectionGroup $group

PS C:\PS> Install-VBRDiscoveredComputerAgent -DiscoveredComputer $computers

Example 2

This example shows how to create a protection group, manually discover computers of this group and install Veeam Agents on discovered computers of this group.

You will need to perform the following steps:

  1. Create a scope of computers for a protection group:
  1. Create a protection group. To do this, run Add-VBRProtectionGroup with the $compscope variable. Save the result to the $group variable.
  2. Discover computers of the created protection group. To do this, run Rescan-VBREntity with the $group variable.
  3. Get the discovered computers of the protection group. To do this, run Get-VBRDiscoveredComputer with the $group variable. Save the result to the $discovered variable.
  4. Install Veeam Agents on the discovered computers of the created protection group. To do this, run Install-VBRDiscoveredComputerAgent with the $discovered variable.

PS C:\PS> $computers = @("172.19.51.53", "sup-v8931") | ForEach { New-VBRIndividualComputerCustomCredentials -HostName $_ -Credentials "support\jsmith" }

PS C:\PS> $compscope = New-VBRIndividualComputerContainer -CustomCredentials $computers

PS C:\PS> $group Add-VBRProtectionGroup -Name "Support_East" -Container $compscope

PS C:\PS> Rescan-VBREntity -Entity $group -Wait

PS C:\PS> $discovered = Get-VBRDiscoveredComputer -ProtectionGroup $group

PS C:\PS> Install-VBRDiscoveredComputerAgent -DiscoveredComputer $discovered

Related Commands

Get-VBRProtectionGroup

Rescan-VBREntity

New-VBRIndividualComputerCustomCredentials

New-VBRIndividualComputerContainer

Add-VBRProtectionGroup

Get-VBRDiscoveredComputer

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

Veeam Backup for Microsoft Office 365

Veeam ONE Documentation

Veeam Agent for Windows Documentation

Veeam Agent for Linux Documentation

Veeam Management Pack Documentation