Hi all
I'm using a very useful SAM monitor that uses a powershell script to provide metrics on filecount, folder size etc.

I would like the output on the right hand side (bytes) to match the statistic on the left (gigabytes)....however I'm not sure on the data transformation needed.
I believe the relevant elements of the script are included below - does anyone know if I can use the XToGiga({value}) transformation somehow?
$ContentSize = $Files | Measure-Object -Property Length -Sum | Select-Object -ExpandProperty Sum
Write-Host "Message.FolderSize: [$( $Folder ) on ${Node.Caption}] and all children use $( $ContentSize.ToString("N0") ) gigabytes"
Write-Host "Statistic.FolderSize: $( $ContentSize )"