PowerShell script exchange
Post Reply
mjohnston
Service Provider
Posts: 1
Liked: never
Joined: Feb 12, 2018 9:41 pm
Full Name: Mike Johnston
Contact:

VM utilization

Post by mjohnston »

Greetings, I have been searching to see if Veeam stores the VM utilization data. I already understand I might not be using the correct terminology for this question ...

here is a simplistic example that should explain my definition of 'utilization' .

Lets say I have a VM that consists of a C: drive allocated with 100Gbytes.
it is currently only using 15Gbytes of this volume.

To me this VM would be considered 15% utilized.

I need this data to calculate our VM change rate: (data read / % utilized)

any ideas would be appreciated
Vitaliy S.
VP, Product Management
Posts: 27377
Liked: 2802 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: VM utilization

Post by Vitaliy S. »

Hi Mike,

Do you have Veeam ONE (part of Veeam Availability Suite) by any chance? If yes, then these reports should be exactly what you're searching for: VM Change Rate History and Guest Disk Free Space.

Hope this helps!
Alex Uryumtsev
Enthusiast
Posts: 51
Liked: 7 times
Joined: Oct 29, 2018 9:56 am
Full Name: Alexander Uryumtsev
Contact:

Re: VM utilization

Post by Alex Uryumtsev »

Hi Mike and welcome to the forum.

You can check the utilized disk size by running following PW script:

Code: Select all

asnp veeampssnapin
$vm = Get-VBRServer -Name "Your server name" | Find-VBRViEntity - DatastoresAndVMs -Name "Your VM"
$utilized = [int]($vm.usedSize / $vm.provisionedSize * 100)
If you have any questions left, let me know.
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests