Powershell Pass Function As Parameter