title: Display Disk Size and FreeSpace in GB
body: <p>Is there one line of code that will display free-size and disk-space of your logical disk in gb instead of mb? I tried doing some research but I couldn't find one liner, I did give this an attempt which was to divide it by 1GB, but that didn't work, how can I accomplish this?</p>
  
  <pre><code>gwmi win32_logicaldisk | Format-Table DeviceId, MediaType,Size,FreeSpace /1GB
  </code></pre>