Attempting to get VBA Policy details using Get-VBRAzureComputeBackup, the cmdlet only returns the policy name, and ID, nothing else. I may be missing something, but I am trying to get the more details about the policy such as:
- Resources
- Schedule
- Settings
- Retentions
- Account
-
- Lurker
- Posts: 2
- Liked: never
- Joined: Aug 31, 2022 12:47 am
- Full Name: Mark Farzan
- Contact:
-
- Veeam Software
- Posts: 2833
- Liked: 647 times
- Joined: Jun 28, 2016 12:12 pm
- Contact:
Re: Get-VBRAzureComputeBackup returns only name, and ID, no other policy attributes
Hi mfarzan,
Get-VBRAzureComputeBackup only returns information about backups imported via External Repositories if I remember right -- you're not going to be able to poll policy information directly from VBR Powershell.
For the time being, I would recommend adding some REST calls into your script for reporting on the Veeam Backup for Azure environment; Invoke-WebRequest cmdlet can help here, and you should be able to find powershell examples of a quick REST API calling function.
Long-term naturally we want all features covered by our automation endpoints, but for the time being with Veeam Backup for Azure items, use the built in REST API for reporting.
Get-VBRAzureComputeBackup only returns information about backups imported via External Repositories if I remember right -- you're not going to be able to poll policy information directly from VBR Powershell.
For the time being, I would recommend adding some REST calls into your script for reporting on the Veeam Backup for Azure environment; Invoke-WebRequest cmdlet can help here, and you should be able to find powershell examples of a quick REST API calling function.
Long-term naturally we want all features covered by our automation endpoints, but for the time being with Veeam Backup for Azure items, use the built in REST API for reporting.
David Domask | Product Management: Principal Analyst
Who is online
Users browsing this forum: Bing [Bot] and 3 guests