Public/Parameters.ps1
function Parameters { param( [Parameter(Mandatory)] [hashtable]$Parameters ) begin { Write-Debug -Message "Entering: $($PSCmdlet.MyInvocation.MyCommand.Name)" Assert-InWatchmen -Command $PSCmdlet.MyInvocation.MyCommand.Name } process { $global:watchmen.ThisTest.Parameters = $Parameters } end { Write-Debug -Message "Exiting: $($PSCmdlet.MyInvocation.MyCommand.Name)" } } |