PowerShell script exchange
Post Reply
tano
Service Provider
Posts: 3
Liked: never
Joined: Jan 11, 2019 3:13 pm
Full Name: Tano
Contact:

Rental License VM usage count

Post by tano » Jan 11, 2019 3:23 pm

Hi,

I'm trying to automate a monthly report that counts the VM usage ( Used VMs ) of our Rental license .

I've read and tried the cmdlet \ scripts found on :
- powershell-f26/license-information-t30756.html : it seems that it doesnt count the VMware VM usage ;
- https://github.com/VeeamHub/powershell/ ... eUsage.ps1 : it will count the VMware VM usage but it reports different values, ad ex. i got 301 VM instead of 293 as reported from Enterprise Manager .

Does anybody know how the enterprise manager\licensing "used VMS" fields work ? Exactly what does it count ?

thanks in advance and best regards
Stefano

Vitaliy S.
Veeam Software
Posts: 21853
Liked: 1316 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Rental License VM usage count

Post by Vitaliy S. » Jan 11, 2019 3:38 pm

Cannot comment on the script on GitHub, but EM shows how many VMs are protected (have a restore point for the past 30 days). These VMs consume the license key.

Can you please clarify what exactly you're trying to automate? Do you want to use this data in some other application/integration or this is just for your information?

tano
Service Provider
Posts: 3
Liked: never
Joined: Jan 11, 2019 3:13 pm
Full Name: Tano
Contact:

Re: Rental License VM usage count

Post by tano » Jan 11, 2019 4:32 pm

I'm just trying to get this counter in order to compose an email and send this info to my department \ licensing dept. .

v.Eremin
Veeam Software
Posts: 15523
Liked: 1179 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Rental License VM usage count

Post by v.Eremin » Jan 14, 2019 5:44 pm

Just to be sure - are we talking here about CC or simple backup server? Thanks!

tano
Service Provider
Posts: 3
Liked: never
Joined: Jan 11, 2019 3:13 pm
Full Name: Tano
Contact:

Re: Rental License VM usage count

Post by tano » Jan 15, 2019 8:37 am

Hi,

As for now, its a simple standalone B&R 9.5 backup server .

v.Eremin
Veeam Software
Posts: 15523
Liked: 1179 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Rental License VM usage count

Post by v.Eremin » Jan 16, 2019 4:53 pm

OK, currently, it's not possible to get this information via PowerShell. Querying configuration db is the only way available. Thanks!

Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests