PowerShell script exchange
Post Reply
albertwt
Veteran
Posts: 941
Liked: 53 times
Joined: Nov 05, 2009 12:24 pm
Location: Sydney, NSW
Contact:

Get all Veeam Agent backup version in the VBR server?

Post by albertwt »

Hi Veeam Team,

I need to Verify that all systems running agent-based backup have up to date versions.

How can I get the report of all Veeam Endpoint Backup agent that are configured to use the VBR Repository?

Thank you in advance.

Case #04717109
--
/* Veeam software enthusiast user & supporter ! */
oleg.feoktistov
Veeam Software
Posts: 2010
Liked: 670 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: Get all Veeam Agent backup version in the VBR server?

Post by oleg.feoktistov » 1 person likes this post

Hi,

If you are using agents managed by VBR server, try this approach:

Code: Select all

$agents = Get-VBRDiscoveredComputer
foreach ($agent in $agents) {
   $agent | select Name, AgentVersion
}
Thanks,
Oleg
albertwt
Veteran
Posts: 941
Liked: 53 times
Joined: Nov 05, 2009 12:24 pm
Location: Sydney, NSW
Contact:

Re: Get all Veeam Agent backup version in the VBR server?

Post by albertwt »

Hi Oleg, do I have to manually connect to each Backup servers VBR console, or can I run something from my Powershell ISE or Visual Studio Code on my computer?
--
/* Veeam software enthusiast user & supporter ! */
jhoughes
Veeam Vanguard
Posts: 282
Liked: 113 times
Joined: Apr 20, 2017 4:19 pm
Full Name: Joe Houghes
Location: Castle Rock, CO
Contact:

Re: Get all Veeam Agent backup version in the VBR server?

Post by jhoughes » 1 person likes this post

You would need to run that code against every VBR server.

It could be done by connecting to each, running the command, and then disconnecting. It could also be accomplished with PSRemoting creating sessions for each VBR, and running Invoke-Command against each session to gather the data.
Husband, Father, Solutions Architect, Geek | @DenverVMUG & @DenverPSUG leader | International Speaker | Veeam Vanguard | vExpert (PRO) | Cisco Champion
Post Reply

Who is online

Users browsing this forum: Majestic-12 [Bot] and 8 guests