Agent-based backup of Windows, Linux, Max, AIX and Solaris machines.
Post Reply
poulpreben
Certified Trainer
Posts: 1024
Liked: 448 times
Joined: Jul 23, 2012 8:16 am
Full Name: Preben Berg
Contact:

PowerShell Reporting for Managed Agents

Post by poulpreben »

Hi,

We recently migrated a heap of Windows agents to being manged by VBR with the new capabilities available in 9.5 Update 3.

Previously, we had some standalone agents pointing to a repository, and we were able to report on the last backup status using roughly the following command:

Code: Select all

Get-VBREPJob | Select Name, LastResult
After migrating the agents to a Protection Group, and adding the PG to a new "Agent Backup Job", the backups no longer show up under neither "Get-VBRJob", or "Get-VBREPJob".

Is this a bug, or is it expected behaviour?

Thanks,
Preben.
poulpreben
Certified Trainer
Posts: 1024
Liked: 448 times
Joined: Jul 23, 2012 8:16 am
Full Name: Preben Berg
Contact:

Re: PowerShell Reporting for Managed Agents

Post by poulpreben »

Matthias Mehrtens has better eyes than me.

https://helpcenter.veeam.com/docs/backu ... tml?ver=95
Helpcenter wrote:Currently Veeam PowerShell does not allow you to manage jobs that were created using Veeam Agent management functionality. You can do it only with Veeam Backup & Replication UI.
Are there plans for adding this in a future release?
Dima P.
Product Manager
Posts: 14396
Liked: 1568 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: PowerShell Reporting for Managed Agents

Post by Dima P. »

Hi Preben.

Yup. We had to postpone full PS support for agent functionality but it planned for the upcoming version. Cheers!
masonit
Service Provider
Posts: 325
Liked: 23 times
Joined: Oct 09, 2012 2:30 pm
Full Name: Maso
Contact:

Re: PowerShell Reporting for Managed Agents

Post by masonit »

I guess it is U4 we have to wait for? Any release date for U4?

\Masonit
Dima P.
Product Manager
Posts: 14396
Liked: 1568 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: PowerShell Reporting for Managed Agents

Post by Dima P. »

Magnus,

That's right, full PS coverage will become available with U4. Unfortunately I cant give you ETA at this point in time. Cheers!
TFri
Lurker
Posts: 1
Liked: never
Joined: Jul 23, 2018 6:11 pm
Full Name: Tony Friberg
Contact:

Re: PowerShell Reporting for Managed Agents

Post by TFri »

U4 is out and still no PS functionality for managed agents. any update?
Dima P.
Product Manager
Posts: 14396
Liked: 1568 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: PowerShell Reporting for Managed Agents

Post by Dima P. »

Hello and welcome to the community Tony,

Can you please elaborate what PowerShell cmdlets are missing in your opinion? We've added Veeam Agent Management Backup Jobs to create and modify agent jobs, Veeam Agent Management Protection Scope to protection groups to Veeam Backup & Replication and manage them and much more.

Please check the PowerShell guide for the full list of available cmdlets.

Thanks!
stuart_little1874
Influencer
Posts: 22
Liked: 4 times
Joined: Jul 22, 2020 1:25 pm
Full Name: Stuart Little
Contact:

Re: PowerShell Reporting for Managed Agents

Post by stuart_little1874 »

Did the ability to report on the status (via Powershell) of the Managed Veeam Agent get added to PS? We are migrating to Veeam and although I can figure out how to report on the Remote Agent I can't see how to report on the Managed agent.
oleg.feoktistov
Veeam Software
Posts: 1912
Liked: 635 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: PowerShell Reporting for Managed Agents

Post by oleg.feoktistov »

Hi,

Yes, please check the output of Get-VBRDiscoveredComputer cmdlet. I believe, State and AgentStatus properties are the ones you are looking for.

Thanks,
Oleg
Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests