Functions With Parameters In Powershell Foreach Next Item