@vmware: I think you guys should express storage size as BYTES everywhere. Especially since PowerShell has the cool KB/MB/GB constants. If I want GB from bytes, I just go "$size / 1GB". Now I have to worry about whether something is in KB or bytes, guessing by the property name. And the math is slightly more verbose "$size * 1kb / 1gb". Just an annoyance I'd rather not have to deal with.
Hal Rottenberg
Co-Host, PowerScripting Podcast (http://powerscripting.net)
> $vm | Get-HardDisk
CapacityKB Persistence
---------- -----------
15728640 Persistent ..
($vm | Get-VMGuest).Disks
Path Capacity
---- --------
C:\ 10725732352
Hal Rottenberg
Co-Host, PowerScripting Podcast (http://powerscripting.net)
Tags:
get-harddisk,
storage