Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 210400

Re: Total of vm.provisionedSpaceGB and Datastore.provisionedGB not equal

$
0
0

Looks like the ProvisionedGB was a custom VI property that I imported.  See calculation below.  Even with using 'VM used' my totals are 14TB off.

 

 

VM Provisioined (TB) 185.5294361954238411271944642

VM Used (TB) 90.74842126356998051051050425

Datastore Provisioned (TB) 76.7400119781494140625

 

 

# ProvisionedGB
New-VIProperty-NameProvisionedGB-ObjectTypeDatastore-Value {
  
param($ds)

  [
Math]::Round(($ds.ExtensionData.Summary.Capacity -$ds.ExtensionData.Summary.FreeSpace +$ds.ExtensionData.Summary.Uncommitted)/1GB,1)
} -BasedONextensionProperty
'Summary' -Force


Viewing all articles
Browse latest Browse all 210400

Trending Articles