sync: auto-sync from HOWARD-HOME at 2026-07-05 09:56:12
Author: Howard Enos Machine: HOWARD-HOME Timestamp: 2026-07-05 09:56:12
This commit is contained in:
9
.ex.ps1
Normal file
9
.ex.ps1
Normal file
@@ -0,0 +1,9 @@
|
||||
$rc='C:\ProgramData\acg-backup\rclone\rclone.exe'
|
||||
foreach ($d in 'C:\Windows','C:\Program Files','C:\Program Files (x86)','C:\ProgramData','C:\Users') {
|
||||
$out = & $rc size $d --skip-links 2>$null | Select-String 'Total size'
|
||||
"$d :: $out"
|
||||
}
|
||||
'--- C:\ root files (pagefile etc) ---'
|
||||
Get-ChildItem 'C:\' -File -Force -ErrorAction SilentlyContinue | Select-Object Name,@{n='GB';e={[math]::Round($_.Length/1GB,1)}} | Format-Table -AutoSize | Out-String
|
||||
'--- D:\vault ---'
|
||||
Test-Path 'D:\vault'
|
||||
Reference in New Issue
Block a user