Powershell Passing Function As Parameter