This repository was archived by the owner on Feb 4, 2019. It is now read-only.

Description
Pash does not support optional arguments right now. Would be nice if literals and variables would be supported as in Powershell.
For example:
$FallbackEnvironment = "test"
function Get-Consumers-By-Consumer-On-All-Databases(
$Environment = $FallbackEnvironment # This line will fail
)
{
}
With error:
Parse error at (67:29): Syntax error, expected: ,, )
> $Environment = $FallbackEnvironment
^
+CategoryInfo: ParserError, Reason: ParseException
+FullyQualifiedErrorId: Parse