PowerShell script exchange
Post Reply
Reklov
Expert
Posts: 101
Liked: 4 times
Joined: Aug 28, 2014 12:16 pm
Contact:

Automatic export Jobs and Mashines List

Post by Reklov »

Hi,

I'm looking for a way to export this data automaticly e.g. by a Job within the Taskscheduler.

Enterprisemanager/Mashines/Export/save

Any possibility ?

Best regards
Volker
Egor Yakovlev
Product Manager
Posts: 2581
Liked: 708 times
Joined: Jun 14, 2013 9:30 am
Full Name: Egor Yakovlev
Location: Prague, Czech Republic
Contact:

Re: Automatic export Jobs and Mashines List

Post by Egor Yakovlev »

Hi Rekov,

You might want to consider doing that via PowerShell. There are cmdlets to retrieve all jobs and objects within jobs.
Check out Managing Jobs part of the PS Reference Guide.

Note that Machines list from Enterprise Manager reports machines with at least 1 restore point, no matter of backup job existence(for example Imported Backups too) - so if you want that, you should focus on backup cmdlets instead of job ones.

/Thanks!
Reklov
Expert
Posts: 101
Liked: 4 times
Joined: Aug 28, 2014 12:16 pm
Contact:

Re: Automatic export Jobs and Mashines List

Post by Reklov »

Thank you ! I'll try it.
merku
Enthusiast
Posts: 48
Liked: 12 times
Joined: Feb 08, 2020 3:17 pm
Full Name: Mercurio
Contact:

Re: Automatic export Jobs and Mashines List

Post by merku »

Hi,
I have a VBR which also sees the jobs configured on Veeam for Azure.
If I run the Get-VBRJob command I don't see the jobs with type "Microsoft Azure VM".
Is there any specific powershell command to view these jobs?

Thanks!
oleg.feoktistov
Veeam Software
Posts: 2010
Liked: 670 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: Automatic export Jobs and Mashines List

Post by oleg.feoktistov » 1 person likes this post

Hi,

Yep,currently there is no cmdlet, which allows to retrieve them. You could use unofficial .NET method for that though:

Code: Select all

[Veeam.Backup.Core.CBackupJob]::GetAll()
It obtains all backup jobs including azure policies.

Best regards,
Oleg
Post Reply

Who is online

Users browsing this forum: aruns and 9 guests