PowerShell script exchange
Post Reply
jcolonfzenpr
Enthusiast
Posts: 53
Liked: 33 times
Joined: Dec 30, 2021 1:16 am
Full Name: Jonathan Colon
Location: Puerto Rico
Contact:

Get Nutanix Backup Jobs from powershell

Post by jcolonfzenpr »

Hi,

Is there any way to get Nutanix backup jobs from powershell?

Image

Image

Any help would be appreciated!
Jonathan Colon
https://techmyth.blog/
david.domask
Veeam Software
Posts: 2815
Liked: 641 times
Joined: Jun 28, 2016 12:12 pm
Contact:

Re: Get Nutanix Backup Jobs from powershell

Post by david.domask »

Hi Jonathan,

Currently no support via Powershell for Nutanix; consider using REST API for now.

The request for powershell integration with Nutanix and other platforms is known, and each release we're working on better parity between console and automation options (REST API/Powershell), so stay tuned, but for now please try the REST API for your automation needs with Nutanix backups.
David Domask | Product Management: Principal Analyst
jcolonfzenpr
Enthusiast
Posts: 53
Liked: 33 times
Joined: Dec 30, 2021 1:16 am
Full Name: Jonathan Colon
Location: Puerto Rico
Contact:

Re: Get Nutanix Backup Jobs from powershell

Post by jcolonfzenpr »

Hi David,

The Restapi target is the VBR server or the VBR for Nutanix AHV 7 running inside the Nutanix host?

Thanks
Jonathan Colon
https://techmyth.blog/
david.domask
Veeam Software
Posts: 2815
Liked: 641 times
Joined: Jun 28, 2016 12:12 pm
Contact:

Re: Get Nutanix Backup Jobs from powershell

Post by david.domask »

The target is the appliance running on the Nutanix hosts in this case. Long term, full parity between our automation endpoints and the console is the goal, but for now please use the REST API.
David Domask | Product Management: Principal Analyst
caspar32
Novice
Posts: 5
Liked: 3 times
Joined: Apr 04, 2024 12:47 am
Full Name: Kan Lin
Contact:

Can powershell cmdlet support get info from AHV?

Post by caspar32 »

Dears:

Can powershell cmdlet support get info from AHV?. We need customize some job outputs using cmdlet.

Thanks in advance.
david.domask
Veeam Software
Posts: 2815
Liked: 641 times
Joined: Jun 28, 2016 12:12 pm
Contact:

Re: Get Nutanix Backup Jobs from powershell

Post by david.domask »

Hi caspar32,

I've moved your post to an existing topic on the subject. Please see my previous answer as the only supported means of managing Nutanix jobs via automation is with the Appliance REST API.

If it's essential to use powershell, the following unsupported workaround can be used:

Code: Select all

Get-VBRLicenseAutoUpdateStatus | Out-Null #Needed to allow .NET Reflection below
[Veeam.Backup.Core.CBackupJob]::GetAll() | Where-Object {$_.TypeToString -like "*Nutanix*"}
It is very important that you use this for reporting only; the second line is .NET reflection and will not receive support for any issues should you encounter them.
David Domask | Product Management: Principal Analyst
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests