Subcommands A demonstration of how we can create a git-like tool with subcommands in the form: .\Tool.ps1 <command> [args] It demonstrates dynamic fetching the subcommand file, and passing all args to the script when it is called. Sources Join-Path About Functions Advanced Parameters How to pass all parameters to dynamic expression Invoke-Expression