PowerShell script exchange
Post Reply
albertwt
Expert
Posts: 702
Liked: 23 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: 847
Liked: 300 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
Expert
Posts: 702
Liked: 23 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 Software
Posts: 260
Liked: 105 times
Joined: Apr 20, 2017 4:19 pm
Full Name: Joe Houghes
Location: Austin, TX
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 Extraordinaire | @AustinVMUG & @ATXPowerShell leader | VMware vExpert | Cisco Champion

Post Reply

Who is online

Users browsing this forum: No registered users and 12 guests