PowerShell script exchange
Post Reply
Manu80
Service Provider
Posts: 22
Liked: 3 times
Joined: Mar 10, 2020 9:05 pm
Full Name: Manu80
Contact:

License report with job name involved

Post by Manu80 »

Hello,
we need to generate license report from VBR, same as html, but on json or csv for manipulate and customize.

With generate-vbrlicenseusagereport (https://helpcenter.veeam.com/docs/backu ... ml?ver=120) with json type I obtain only summary and don't have list of all VM and related job.

I try some methods with powershell and API (also with VEM), but not find at the moment the solution.

Has anyone been able to do something similar ?

Thanks
manu
david.domask
Veeam Software
Posts: 2663
Liked: 617 times
Joined: Jun 28, 2016 12:12 pm
Contact:

Re: License report with job name involved

Post by david.domask »

Hi manu80,

Currently the cmdlet only outputs the usage counts. What fully needs to be in your report? Each license workload name and job name or what are you hoping to capture?

I would advise export as HTML and use an HTML parsing module like PowerHTML to extract the information. I don't have a ready script for this but I played briefly and it will let you import an HTML file as an object (similar to ConvertFrom-JSON cmdlet) and from there you can walk the HTML nodes to build your report.
David Domask | Product Management: Principal Analyst
Post Reply

Who is online

Users browsing this forum: No registered users and 30 guests