PsBash
0.2.0
Real bash commands for PowerShell with typed objects. 68 commands (ls, grep, sort, awk, sed, jq, find, ps, du, tar, etc.) that accept real bash flags and return structured PowerShell objects while producing identical text output. Pipeline bridge pattern preserves typed objects through grep, sort, head, tail.
Minimum PowerShell version
7.0
Installation Options
Owners
Copyright
(c) Andy Brummer. All rights reserved.
Package Details
Author(s)
- Andy Brummer
Tags
bash linux cross-platform cli grep awk sed jq pipeline typed-objects powershell-module devops unix shell commands windows macos
Functions
Invoke-BashEcho Invoke-BashPrintf Get-BashPlatform New-BashObject ConvertFrom-BashArgs Expand-EscapeSequences New-FlagDefs Invoke-BashLs Get-BashFileInfo Format-BashSize Format-BashDate Format-LsLine ConvertTo-PermissionString Invoke-BashCat Get-BashText Invoke-BashGrep Invoke-BashSort ConvertFrom-HumanNumeric Compare-Version ConvertFrom-MonthName Invoke-BashHead Invoke-BashTail Invoke-BashWc Invoke-BashFind Invoke-BashStat Format-StatString Invoke-BashCp Invoke-BashMv Invoke-BashRm Invoke-BashMkdir Invoke-BashRmdir Invoke-BashTouch Invoke-BashLn Invoke-BashPs Get-LinuxProcEntry Get-DotNetProcEntry Format-PsAuxLine Format-PsCustomLine Invoke-BashSed ConvertFrom-SedExpression Test-SedAddress Invoke-BashAwk ConvertFrom-AwkProgram Split-AwkFields Test-AwkPattern Resolve-AwkExpression Invoke-AwkAction Format-AwkPrintf Resolve-AwkStringFunc Invoke-BashCut Invoke-BashTr Invoke-BashUniq Invoke-BashRev Invoke-BashNl Invoke-BashDiff Invoke-BashComm Invoke-BashColumn Invoke-BashJoin Invoke-BashPaste Invoke-BashTee Invoke-BashXargs Invoke-BashJq ConvertTo-JqJson Invoke-JqFilter Invoke-BashDate Convert-DateFormat Invoke-BashSeq Invoke-BashExpr Invoke-BashDu Invoke-BashTree Invoke-BashEnv Invoke-BashBasename Invoke-BashDirname Invoke-BashPwd Invoke-BashHostname Invoke-BashWhoami Invoke-BashFold Invoke-BashExpand Invoke-BashUnexpand Invoke-BashStrings Invoke-BashSplit Invoke-BashTac Invoke-BashBase64 Invoke-BashMd5sum Invoke-BashSha1sum Invoke-BashSha256sum Invoke-BashFile Invoke-BashRg Invoke-BashGzip Invoke-BashTar Invoke-BashYq ConvertFrom-SimpleYaml ConvertFrom-YamlValue ConvertTo-SimpleYaml Invoke-BashXan Register-BashCompletions Test-BashHelpFlag Show-BashHelp Invoke-BashSleep Invoke-BashTime Invoke-BashWhich Invoke-BashAlias
PSEditions
Dependencies
This module has no dependencies.
Release Notes
Initial release: 68 bash commands with typed objects, pipeline bridge, cross-platform support.
FileList
- PsBash.nuspec
- PsBash.Format.ps1xml
- PsBash.psd1
- PsBash.psm1
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 0.2.0 (current version) | 343 | 4/3/2026 |
| 0.1.0 | 37 | 4/3/2026 |