Powershell Passing Function As A Parameter