Functions With Parameters In Powershell Foreach