I've returned to Linux but I miss PowerShell
9 months ago
- #PowerShell
- #Shell-Scripting
- #Linux
- The author misses PowerShell features after switching back to Linux from Windows.
- PowerShell provides free tab completion for cmdlets, making scripting easier.
- vscode's PowerShell extension offers built-in debugging, autocomplete, and linting.
- PowerShell has a built-in package manager (Install-Module) for easy module installation.
- PowerShell allows automatic short commands (e.g., Test-MyCmdlet -A).
- PowerShell's help system is integrated, with easy-to-write and access man pages.
- PowerShell commands follow a consistent naming convention (Verb-Noun).
- PowerShell uses objects instead of plaintext, simplifying data manipulation.
- PowerShell supports type checking to prevent variable type mismatches.
- PowerShell allows tab-completing JSON and XML properties for easy data querying.
- The author dislikes the PowerShell 5.1 and 7 version split and Windows quirks.
- PowerShell lacks a universal 'fail-fast' mode like bash's set -e.
- The author prefers PowerShell's intuitiveness and consistency over bash/zsh.