'--- DISK USAGE ---'
Get-PSDrive -PSProvider FileSystem | Where-Object {$_.Used} | Select-Object Name,@{n='UsedGB';e={[math]::Round($_.Used/1GB,1)}},@{n='FreeGB';e={[math]::Round($_.Free/1GB,1)}} | Format-Table -AutoSize | Out-String
'--- FOLDERS COPIED (from log) ---'
Select-String -Path 'C:\ProgramData\acg-backup\rclone.log' -Pattern '^(>>>|=== BACKUP)' | ForEach-Object Line
'--- PER-RUN TRANSFER TOTALS (last stats line before each section end) ---'
Select-String -Path 'C:\ProgramData\acg-backup\rclone.log' -Pattern 'ETA 0s' | ForEach-Object Line | Select-Object -Unique
'--- BUCKET SIZE (rclone size, may take a while) ---'
& 'C:\ProgramData\acg-backup\rclone\rclone.exe' size 'b2:ACG-Tech03L-Backup' --config 'C:\ProgramData\acg-backup\rclone.conf' 2>&1 | Out-String
