do-win¤
Windows-specific utilities that bring familiar Linux commands to PowerShell and simplify system maintenance.
Module Info
Version: 0.8.0 (beta) · PowerShell: 7.0+ · Dependencies: none
./module_manage.ps1 'do-win' -CleanUp
Highlights¤
- Linux-like commands -
which,du,touch, andgsi(system info) work the way you'd expect from a Unix shell. - PATH refresh -
refreshenvpathreloads the session PATH after installing software, without restarting the terminal. - File/folder dialogs -
Get-FileNameandGet-FolderPathopen native Windows picker dialogs from the command line. - Winget automation -
Invoke-WingetUpgradeupgrades all winget packages in one shot, with parsed result output.
Common¤
| Function | Alias | Description |
|---|---|---|
Get-CommandSource |
which |
Command source |
Get-DiskUsage |
du |
Folder sizes |
Get-SysInfo |
gsi |
System info |
New-File |
touch |
Create a file |
Update-SessionEnvironmentPath |
refreshenvpath |
Refresh PATH |
Forms¤
| Function | Description |
|---|---|
Get-FileName |
Open file dialog |
Get-FolderPath |
Folder browser dialog |
Winget¤
| Function | Description |
|---|---|
Get-WingetResult |
Parse winget upgrade results |
Invoke-WingetUpgrade |
Upgrade all packages |