PowerShell script exchange
Post Reply
Kiefaber
Lurker
Posts: 2
Liked: never
Joined: Feb 16, 2023 11:00 am
Full Name: Dominic Kiefaber
Contact:

Veeam Agent for Windows version (unmanaged)

Post by Kiefaber »

Hi!

I'm currently trying to figure out how many of our clients are still using deprecated Veeam Agents (Version 4.x) in order to plan our migration to v12.
I was able to gather everything but the "Unmanaged" devices listed in the Physical Infrastructure.

Since I am able to show the version in their details I guess you can somehow gather that information. A hint towards where to find it in the Microsoft SQL Database would also be sufficient for my case.

Im happy about any recommendation.

Regards
Dominic
oleg.feoktistov
Veeam Software
Posts: 2006
Liked: 666 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: Veeam Agent for Windows version (unmanaged)

Post by oleg.feoktistov » 1 person likes this post

Hi Dominic,

Protection groups can be usually returned with Get-VBRProtectionGroup cmdlet. But that's not the case with "Unmanaged" one most probably because you can't really do anything with it further on.
Here is the workaround to get container info for both "Unmanaged" protection group and agents within:

Code: Select all

$epContainers = [Veeam.Backup.DBManager.CDBManager]::Instance.EpContainers.GetAll()
$unmanagedPG = $epContainers | where {$_.Name -eq 'Unmanaged'}
$epAgents = [Veeam.Backup.DBManager.CDBManager]::Instance.EpAgents.GetAgentInfoByContainerId($unmanagedPG.Id)
$unmanagedPG
$epAgents
Best regards,
Oleg
Kiefaber
Lurker
Posts: 2
Liked: never
Joined: Feb 16, 2023 11:00 am
Full Name: Dominic Kiefaber
Contact:

Re: Veeam Agent for Windows version (unmanaged)

Post by Kiefaber »

Hi Oleg,

thank you very much!
This is exactly what i needed.

Best regards
Dominic
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests