You will most often use Bash functions to make your shell life easier; instead of typing out complex command pipelines, ...
By defining Microsoft PowerShell functions within PowerShell modules, you can organize your scripts, avoid duplicating code, ...