PowerShell script exchange
Post Reply
Aggi
Service Provider
Posts: 4
Liked: never
Joined: Sep 20, 2012 11:22 am
Full Name: Agnar Arason
Contact:

Not abel to get ProvisionedSize and UsedSize of VMs

Post by Aggi »

Hi all,

I am trying to get used size of the VMs that are backed up with VBR. To do that I made the following:

Code: Select all

Add-PSSnapin "VeeamPSSnapIn"
$HostsAndVMs=Find-VBRHvEntity -HostsAndVMs
foreach($VM in $HostsAndVMs)
{
$vm.Name + " "+ $vm.Usedsize
}
but usedsize always returns 0. The same for the ProvisionedSize property.
All the other properties(Host,Type,Reference,Id,Name,Path,VmHostName,PowerState,GuestInfo,ConnHostId) of the object are returned normally.

Am I doing somthing wrong ?
Is there another way to get this informations ?
veremin
Product Manager
Posts: 20400
Liked: 2298 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Not abel to get ProvisionedSize and UsedSize of VMs

Post by veremin »

You're doing nothing wrong. This seems to be a bug. So, thank you for pointing this out; much appreciated.
Post Reply

Who is online

Users browsing this forum: No registered users and 17 guests