So I am green to SQL and SWQL. Im trying to build a custom report which looks at each Virtual Machine and returns some values. The report generates data but two of these values return Bytes and not GB. I would like to convert them to GB. Is there a quick way to convert the Freespace, and Capacity?
SELECT
OVM.VirtualMachineID,
OVM.Name,
OVM.VirtualVolumes.MountPoint,
OVM.VirtualVolumes.FreeSpace,
OVM.VirtualVolumes.Capacity
FROM Orion.VIM.VirtualMachines OVM