I couldnt find it in the documentation. Is it possible to run Generate-VBRLicenseUsageReport without the Virtual Machines list?
Or are some other command better suited?
I just want to send the summary (VM count, multiplier and points) to an email
-
- Novice
- Posts: 5
- Liked: never
- Joined: Jun 21, 2022 11:12 am
- Full Name: Nicki
- Contact:
-
- Veeam Software
- Posts: 2786
- Liked: 637 times
- Joined: Jun 28, 2016 12:12 pm
- Contact:
Re: Generate-VBRLicenseUsageReport without VMs
Hi Nicki,
To confirm, you just want the raw counts without the machine names, correct?
Try outputting it as JSON with the -Type parameter, and parse out the values you want to report on. Some quick sample code and one of the outputs:
From there you can write the data to a fairly simple HTML page or just plain text in an email.
To confirm, you just want the raw counts without the machine names, correct?
Try outputting it as JSON with the -Type parameter, and parse out the values you want to report on. Some quick sample code and one of the outputs:
Code: Select all
PS C:\Users\david.LAB> Generate-VBRLicenseUsageReport -Path C:\temp\report -Type JSON
PS C:\Users\david.LAB> $data = Get-Content C:\temp\report.json | ConvertFrom-Json
PS C:\Users\david.LAB> $data.products.data.instances.Counters
counterType : VBR-VBR-APPLICATION-PLUGIN
multiplier : 11
instancesInGrace : 0
numberOfObjects : 4
numberOfNewObjects : 0
numberOfRentalObjects : 0
numberOfRemovedObjects : 0
consumedInstances : 44
newInstances : 0
rentalInstances : 0
removedInstances : 0
reasonForRemoval :
David Domask | Product Management: Principal Analyst
-
- Novice
- Posts: 5
- Liked: never
- Joined: Jun 21, 2022 11:12 am
- Full Name: Nicki
- Contact:
Re: Generate-VBRLicenseUsageReport without VMs
Thank you very much, this was what I needed. Now I could output it to a readable table.
-
- Veeam Software
- Posts: 2786
- Liked: 637 times
- Joined: Jun 28, 2016 12:12 pm
- Contact:
Re: Generate-VBRLicenseUsageReport without VMs
Glad to assist and glad it works
Always welcome and good luck scripting.

David Domask | Product Management: Principal Analyst
Who is online
Users browsing this forum: No registered users and 3 guests