title: Converting from bytes into gigabytes
body: <p>I am using following script to get disk space audit in our enterprise environment. </p>
  
  <p>Everything works fine except that I don't know how to get those values presented in GB/MB. </p>
  
  <p>Any idea? </p>
  
  <pre><code>$Computers = Get-Content -Path D:\DISKSPACE_audit\Servers.txt 
  Get-WmiObject Win32_LogicalDisk -ComputerName $Computers | Where-Object {
    $_.DriveType -eq 3
  } | Select-Object SystemName,DeviceID,FreeSpace,Size
  </code></pre>