wsl-space
1.0.0
Shows how much of C: each WSL distribution's virtual disk really uses, finds big folders, gives
space back to C: (trim, compact, move to another drive) and warns before C: runs low.
Never deletes files. No switch opens the window. See README.md.
Installation Options
Owners
Copyright
(c) 2026 Nam Nguyen. MIT License.
Package Details
Author(s)
- Nam Nguyen
Tags
WSL WSL2 disk-space vhdx compact Docker Windows
Functions
Format-SizeGB Get-ReclaimableBytes Parse-DfOutput Parse-DuOutput New-DiskpartScriptContent New-DiskpartDetachScriptContent Get-SettingsDir Get-Settings Save-Settings Test-LowDiskSpace Get-DiskHealth Get-ThemePalette Test-WindowsDarkTheme ConvertTo-LogEntry Select-LogEntries Format-LogEntry ConvertTo-WslExplorerPath ConvertTo-ShQuoted ConvertTo-ShPath Invoke-Logged Invoke-WslSh Get-CDriveFreeBytes Get-AllocatedBytes Get-WslDistros Resolve-DistroName Get-VhdxSparseStatus Assert-NotDockerDisk Assert-DockerDesktopStopped Get-WslUsedBytes Get-SpaceReportData Format-Report Get-TrimHint Get-BigFoldersData Invoke-Trim Test-IsAdmin Install-LocalCopy Start-ElevatedCompact Invoke-Compact Invoke-Move Format-CompactResult Show-LowSpaceNotification Invoke-Check Enable-DailyCheck Disable-DailyCheck Test-DailyCheckEnabled Invoke-SelfTest Assert AssertThrows Initialize-WinForms New-MainWindow New-Ctl New-Btn New-Lbl New-Flow Set-InputStyle Set-GridStyle Add-GridColumn Show-MainWindow Invoke-Main
Dependencies
This script has no dependencies.
Release Notes
1.0.0: report (per distro and Docker Desktop data disk), big folders, trim, compact, move to another
drive, daily low-space warning, window with light/dark theme.
FileList
- wsl-space.nuspec
- wsl-space.ps1
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 1.0.0 (current version) | 12 | 11/19/2026 |