PowerShell script exchange
Post Reply
jurcacristian
Service Provider
Posts: 11
Liked: 2 times
Joined: Mar 07, 2018 8:11 am
Full Name: cristi jurca
Location: Romania
Contact:

powershell values changed on 9.5.4.2399 RTM build

Post by jurcacristian »

It looks like with the new RTM release there are somebackend powershell return values changed, like:
"used to be just VMCount, ReplicaCount, WorkstationCount,ServerCount
Now they have RentalVMBackupCount,RentalReplicaCount,RentalWorkstationBackupCount,RentalServerBackupCount and New in place of the rentals as well"

Ar those poweshell changes documented anywhere ?
thanks
Cristi
CrisJ
MichaelCade
Veeam Software
Posts: 314
Liked: 74 times
Joined: Mar 23, 2015 11:55 am
Full Name: Michael Cade
Location: Cambridge, United Kingdom
Contact:

Re: powershell values changed on 9.5.4.2399 RTM build

Post by MichaelCade » 1 person likes this post

I expect this page of the PowerShell revision will be updated accordingly as with other update releases. -

I was looking at something between update 3 and update 4 to see comparisons and I ran this code on both an update 3 and 4 system and compared the two.

Although this is going to show CMDLETS not return values.

Code: Select all

Add-PSSnapin VeeamPSSnapin
Get-Command | Where-Object{$_.PSSnapin.Name -eq "VeeamPSSnapin"} | Export-Csv -Path "c:\Veeam95Update3.csv"
Regards,

Michael Cade
Global Technologist
Veeam Software
Email: Michael.Cade@Veeam.com
Twitter: @MichaelCade1
veremin
Product Manager
Posts: 20270
Liked: 2252 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: powershell values changed on 9.5.4.2399 RTM build

Post by veremin » 1 person likes this post

We've expanded a tenant object with requested licensing counters - rental and new. Description of New VM counter can be found here; description of rental VM counter - here. Thanks!
tomers@y-tech.net
Service Provider
Posts: 93
Liked: 10 times
Joined: Aug 09, 2017 7:31 am
Full Name: Tomer Schwaitzer
Contact:

Re: powershell values changed on 9.5.4.2399 RTM build

Post by tomers@y-tech.net » 1 person likes this post

Hi,

We just realized that this changed caused us to loose money because our billing system that pulls the data with powershell didn't pull any data from the past month because the resources names were changed in the new version...
Veeam, you must keep backwards compatibility for a while.. Now we have to recover all that data from the past month in order to bill our customers for your licenses.
In addition, I think that kind of change should be documented very BOLD in the change log you send for a new version.
veremin
Product Manager
Posts: 20270
Liked: 2252 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: powershell values changed on 9.5.4.2399 RTM build

Post by veremin »

The names have not been changed (VMCount, ReplicaCount, WorkstationCount and ServerCount are still there), we've just made available free licensing counters that were not present in PS before - rental and new. Thanks!
tomers@y-tech.net
Service Provider
Posts: 93
Liked: 10 times
Joined: Aug 09, 2017 7:31 am
Full Name: Tomer Schwaitzer
Contact:

Re: powershell values changed on 9.5.4.2399 RTM build

Post by tomers@y-tech.net »

Yes, its there, but shows 0 instead of the real numbers.

Take a look:
https://welcome.y-sync.net/index.php/s/yV16TllBdIjU1fM
veremin
Product Manager
Posts: 20270
Liked: 2252 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: powershell values changed on 9.5.4.2399 RTM build

Post by veremin »

Which means you're processing only VMs originated from backup server with rental license assigned. Such VMs have not been consuming VCC-B license starting from Update 3. Thanks!
Post Reply

Who is online

Users browsing this forum: Semrush [Bot] and 12 guests