I am using the SCVMM libraries to query VM information.
get-vm -vmmserver blah.blah.com | sort-object name _ format-list
-property Name, CPUCount, TotalSize
Here is my problem - this works great - except TotalSize (the disk
space) is output in bytes. I'd like to convert this to GB. If I simply
replace TotalSize with TotalSize\gb, it blows up.